Subject: CVS commit: basesrc/bin/pax
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/28/2002 14:29:45
Module Name:	basesrc
Committed By:	lukem
Date:		Fri Jun 28 11:29:45 UTC 2002

Modified Files:
	basesrc/bin/pax: ftree.c

Log Message:
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.21 basesrc/bin/pax/ftree.c

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