Subject: CVS commit: src/bin/pax
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 05/04/2007 21:19:37
Module Name:	src
Committed By:	christos
Date:		Fri May  4 21:19:37 UTC 2007

Modified Files:
	src/bin/pax: ar_subs.c extern.h pat_rep.c pat_rep.h tar.1

Log Message:
PR/36275: john at iastate dot edu: tar -s modifies symlink targets
- This is explained in a comment in pat_rep.c inside mod_name(). I did not
  want to change the default behavior, so I added another modifier "s" which
  when set, the pattern will not modify the symlink destination.
- While here I fixed another bug that was introduced before by the fix in
  PR/35257 where the renaming was happening twice since we called rep_name
  twice.
- Finally if we are renaming hard of soft-link targets print the renames for
  those too.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/bin/pax/ar_subs.c
cvs rdiff -r1.52 -r1.53 src/bin/pax/extern.h
cvs rdiff -r1.26 -r1.27 src/bin/pax/pat_rep.c
cvs rdiff -r1.5 -r1.6 src/bin/pax/pat_rep.h
cvs rdiff -r1.24 -r1.25 src/bin/pax/tar.1

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