Subject: CVS commit: [netbsd-2-0] src/bin/pax
To: None <source-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 04/28/2004 03:30:13
Module Name: src
Committed By: grant
Date: Wed Apr 28 03:30:13 UTC 2004
Modified Files:
src/bin/pax [netbsd-2-0]: file_subs.c
Log Message:
Pull up revision 1.43 (requested by snj in ticket #217):
PR/25188: Thomas Klausner: pax-as-tar problem with trailing slashes
The problem is with the program that generates the tar file:
-rwxrwxrwx 1 root wheel 0 Feb 8 16:46 faad2/aacDECdrop/
It creates directory nodes without the 'd' bit set, so that pax thinks
they are files and does the temporary name and dance with them. Added
code to detect this condition, warn about it, and work around it.
To generate a diff of this commit:
cvs rdiff -r1.41.2.1 -r1.41.2.2 src/bin/pax/file_subs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.