truncating /dev/null to zero is always successful
authorDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 11 Oct 2013 11:07:01 +0000 (13:07 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 30 Nov 2013 11:38:26 +0000 (12:38 +0100)
commitad5051ef9da4e1f384237ecf1260e0cad95e0ea7
tree8d77bcf0da5d81b66ebd7f34c633dac9298683e1
parent80cc2c3723a1e28f45edd78168c72a26d41403e9
truncating /dev/null to zero is always successful

Calling truncate on /dev/null can happen by the download methods if they
are instructed to download a file to /dev/null (as testcases are only
interested in the status code, but do not support HEAD requests yet)

So just ignore truncate calls on the /dev/null file as it is always
empty anyway, so truncating to zero isn't a problem.

Git-Dch: Ignore
apt-pkg/contrib/fileutl.cc