]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Augment the -T handling:
authorkientzle <kientzle@FreeBSD.org>
Sun, 27 Jun 2004 06:29:03 +0000 (06:29 +0000)
committerkientzle <kientzle@FreeBSD.org>
Sun, 27 Jun 2004 06:29:03 +0000 (06:29 +0000)
commit2e75ccba07cbf0b2aaf2d472050735824a1969e1
tree006eea9aabde7acb96386741b5e6ecea4bc5e129
parentcb03971cc7b58053c0bf29edc032bef8ece262e8
Augment the -T handling:
 * Add --null option (sort #defines here)
 * Add process_lines function to util.c that reads newline-terminated
   or null-terminated lines (with self-sizing buffers, etc) and iteratively
   invokes a provided function.  Use this to dramatically simplify:
   -T handling for -c, --exclude-from-file, and --include-from-file.
 * Add -T handling to -x (via include_from_file)

Hopefully, this will fix the openoffice port and a couple of
others that rely on -T and --null.
usr.bin/tar/bsdtar.c
usr.bin/tar/bsdtar.h
usr.bin/tar/matching.c
usr.bin/tar/read.c
usr.bin/tar/util.c
usr.bin/tar/write.c