Date: Sun, 29 Mar 2009 01:00:48 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/pax file_subs.c Message-ID: <200903290101.n2T113cL042713@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2009-03-29 01:00:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) bin/pax file_subs.c Log: SVN rev 190516 on 2009-03-29 01:00:48Z by kientzle MFC r187976: Restore timestamps on symlinks 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 Approved by: re (Ken Smith) Revision Changes Path 1.22.2.1 +4 -36 src/bin/pax/file_subs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903290101.n2T113cL042713>