Source-Changes archive

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

CVS commit: src/bin/pax



Module Name:    src
Committed By:   mrg
Date:           Thu Apr  1 14:54:39 UTC 2004

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

Log Message:
redo GNU tar --exclude emulation to actually work the same.  unfortunately,
because alternation (|) isn't available in "pax -s" RE's, we have to pass
four (yes 4!) different patterns:
        .*\/<pattern>$
        .*\/<pattern>\/.*
        ^<pattern>$
        ^<pattern>\/.*
instead of the more elegant
        (^|.*\/)<pattern>($|\/.*)

fixes a problem reported by simonb.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 src/bin/pax/tar.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