cvs commit: src/usr.bin/tar bsdtar.c bsdtar.h matching.c read.c util.c write.c

Tim Kientzle kientzle at FreeBSD.org
Sat Jun 26 23:29:10 PDT 2004


kientzle    2004-06-27 06:29:04 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          bsdtar.c bsdtar.h matching.c read.c 
                         util.c write.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.33      +16 -16    src/usr.bin/tar/bsdtar.c
  1.13      +9 -3      src/usr.bin/tar/bsdtar.h
  1.6       +16 -40    src/usr.bin/tar/matching.c
  1.12      +3 -0      src/usr.bin/tar/read.c
  1.9       +86 -0     src/usr.bin/tar/util.c
  1.26      +31 -39    src/usr.bin/tar/write.c


More information about the cvs-src mailing list