Date: Tue, 19 Feb 2008 05:39:35 +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/lib/libarchive archive_write_disk.c Message-ID: <200802190539.m1J5dZaj072196@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802190539.m1J5dZaj072196>
