Re: [Bug-tar] Preserve timestamp of symlinks when extracting (if utimensat available)

2009-08-05 Thread Sergey Poznyakoff
Carl Worth cwo...@cworth.org ha escrit: I've attached a patch that fixes the bug when utimensat is available, and should have no effect when the function is not available, Thanks a lot. I'll need some time to test it. Regards, Sergey

[Bug-tar] Preserve timestamp of symlinks when extracting (if utimensat available)

2009-08-04 Thread Carl Worth
On Sun, 12 Jun 2005 14:22:53 -0400, D Goel wrote: Let's try the tar-trick to copy the contents of dir1 to dir2: (cd dir1 tar -clpsf- *) | (cd dir2 tar -xpsf -) This copies the contents, including correct timestamps and ownership, except that if there is a symlink (named, say s) in dir1.