]> git.saurik.com Git - apt.git/commit
ensure FileFd doesn't try to open /dev/null as atomic and co
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 2 Nov 2015 15:02:44 +0000 (16:02 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 4 Nov 2015 17:42:28 +0000 (18:42 +0100)
commitcd46d4ebd33e74ee53bbc73dcdb7fe1d4d006558
treeebb72d38d8d7b21849cba5d6b2501cd0e1d94cba
parent2f91076de326a0dee067659381a9c4cf745f0efe
ensure FileFd doesn't try to open /dev/null as atomic and co

The wrapping will fail in the best case and actually end up deleting
/dev/null in the worst case. Given that there is no point in trying to
write atomically to /dev/null as you can't read from it again just
ignore these flags if higher level code ends up trying to use them on
/dev/null.

Git-Dch: Ignore
apt-pkg/contrib/fileutl.cc
test/integration/test-apt-acquire-additional-files
test/libapt/fileutl_test.cc