Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 06:29:04 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tar bsdtar.c bsdtar.h matching.c read.c util.c write.c
Message-ID:  <200406270629.i5R6T45X092174@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406270629.i5R6T45X092174>