Subject: CVS commit: src/bin/pax
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/25/2004 16:20:24
Module Name:	src
Committed By:	christos
Date:		Sun Apr 25 16:20:24 UTC 2004

Modified Files:
	src/bin/pax: file_subs.c

Log Message:
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.42 -r1.43 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.