cvs commit: src/usr.bin/tar write.c

Tim Kientzle kientzle at FreeBSD.org
Mon Oct 31 22:41:06 PST 2005


kientzle    2005-11-01 06:41:05 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          write.c 
  Log:
  In mode 'u', check for an error return from archive_read_open.
  This causes attempts to update a non-existent file to report
  an actual error instead of triggering an assertion failure.
  
  PR: bin/87911
  Thanks to: roemer.ulrich
  MFC after: 3 days
  
  Note: This does not entirely fix bin/87911.  I need to decide on
  the "correct" response when someone tries to update a non-existent
  archive file.
  
  Revision  Changes    Path
  1.43      +6 -2      src/usr.bin/tar/write.c


More information about the cvs-src mailing list