cvs commit: src/usr.bin/tar Makefile bsdtar.c bsdtar.h read.c
util.c write.c
Tim Kientzle
kientzle at FreeBSD.org
Sun Apr 17 10:20:55 PDT 2005
kientzle 2005-04-17 17:20:55 UTC
FreeBSD src repository
Modified files:
usr.bin/tar Makefile bsdtar.c bsdtar.h read.c util.c
write.c
Log:
Support path-rewriting options (including --strip-components) for both
extraction and creation. While I'm here, fix a bug reported by Garrett
Wollman: when stripping the leading '/' from the path "/", don't produce
an entry with an empty name; produce "." instead.
Revision Changes Path
1.20 +1 -1 src/usr.bin/tar/Makefile
1.62 +2 -2 src/usr.bin/tar/bsdtar.c
1.23 +1 -0 src/usr.bin/tar/bsdtar.h
1.23 +41 -60 src/usr.bin/tar/read.c
1.12 +53 -0 src/usr.bin/tar/util.c
1.38 +17 -27 src/usr.bin/tar/write.c
More information about the cvs-src
mailing list