cvs commit: src/lib/libarchive archive_write_disk.c

Tim Kientzle kientzle at FreeBSD.org
Mon Feb 18 21:39:36 PST 2008


kientzle    2008-02-19 05:39:35 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_write_disk.c 
  Log:
  Portability improvements:
    * If the platform can't restore char nodes, block nodes, or fifos,
  don't try and just return error.
    * Include O_BINARY in most open() calls (define O_BINARY to 0 if the
  platform doesn't provide a definition already)
    * Refactor the ownership restore to more cleanly support platforms
  that don't have any form of {l,f,}chown() call.
    * Comment a lingering issue with older Unix-like systems that allow
  root to hose the filesystem.  I don't (yet) have a good solution for
  this, but I expect it will require adding more redundant stat()
  calls. <sigh>
  
  MFC after: 14 days
  
  Revision  Changes    Path
  1.22      +66 -23    src/lib/libarchive/archive_write_disk.c


More information about the cvs-src mailing list