Subject: CVS commit: [netbsd-1-6] basesrc/bin/pax
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/28/2002 16:01:18
Module Name:	basesrc
Committed By:	lukem
Date:		Fri Jun 28 13:01:17 UTC 2002

Modified Files:
	basesrc/bin/pax [netbsd-1-6]: ftree.c

Log Message:
Pull up revision 1.21 (requested by lukem in ticket #388):
Change how "cd .." is handled in next_file() with -M, to ensure that curdir[]
isn't addressed with a negative offset when back at the top of the tree.
This caused pax -M on sparc64 to generate corrupt tar files.
Problem found by Tim Goodwin <tjg@star.le.ac.uk> in [bin/17412].


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.20.2.1 basesrc/bin/pax/ftree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.