diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-02-01 06:15:46 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-02-01 06:15:46 +0000 |
commit | be5fcb8006b960467df137c76fef0baf9133ff30 (patch) | |
tree | d018b345723944533c04d6b4bff7c0809d32ecd7 /sbin/ipfw/ipfw2.h | |
parent | 8211ee605742c9618dc15aec0951e7b5121c8466 (diff) | |
download | FreeBSD-src-be5fcb8006b960467df137c76fef0baf9133ff30.zip FreeBSD-src-be5fcb8006b960467df137c76fef0baf9133ff30.tar.gz |
Before this fix, pax would stop the restore sequence for
symlinks after setting the owner. As a result, mode
and timestamp were not restored. This patch corrects the
problem by simply removing the short-circuit for symlinks
and using lchown()/lchmod()/lutimes() always for restoring
metadata.
PR: bin/91316
Submitted by: Jaakko Heinonen
Reviewed by: Joerg Sonnenberger
MFC after: 14 days
Diffstat (limited to 'sbin/ipfw/ipfw2.h')
0 files changed, 0 insertions, 0 deletions