cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c

Tim Kientzle kientzle at FreeBSD.org
Mon Aug 2 23:19:08 PDT 2004


kientzle    2004-08-03 06:19:08 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          bsdtar.1 bsdtar.c 
  Log:
  GNU and POSIX disagree about -o and -l.
  
  For -l, upset everyone by breaking it.  Specifically, -l now produces
  a lengthy error message that suggests --check-links (POSIX -l) or
  --one-file-system (GNU -l) instead.  However, if POSIXLY_CORRECT is set,
  use the POSIX interpretation.
  
  For -o, please everyone by making it work both ways:
    * -xo uses POSIX behavior
    * -co uses "almost GNU" behavior (as close as we can get until
      libarchive implements a true V7 tar format)
  
  Revision  Changes    Path
  1.19      +18 -2     src/usr.bin/tar/bsdtar.1
  1.45      +52 -20    src/usr.bin/tar/bsdtar.c


More information about the cvs-src mailing list