Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/bin/pax



Module Name:    basesrc
Committed By:   rafal
Date:           Fri Nov 29 04:54:49 UTC 2002

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

Log Message:
Fix lossage with the GNU-tar -X compatibility code: the replacement pattern
code did not properly deal with the fact that the replacement patterns built
by the -X code were on the stack, happily saving pointers into last weeks'
stack into the REPLACE structures.

Now, the replacement string is strdup'ed so it doesn't matter where the
original expression came from or it's lifetime.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 basesrc/bin/pax/pat_rep.c

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




Home | Main Index | Thread Index | Old Index