David Kalnischkies
|
ad5051ef9d
truncating /dev/null to zero is always successful
|
13 years ago |
Michael Vogt
|
96ae6de5d3
fix regression that APT::Keep-Fds is not honored (closes: #730490)
|
12 years ago |
Michael Vogt
|
61f954bff0
small documentation updates
|
12 years ago |
Michael Vogt
|
e45c4617e4
add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state
|
12 years ago |
Michael Vogt
|
3286ad136c
fix libapt-inst for >2G debs (closes: #725483)
|
13 years ago |
Michael Vogt
|
98b69f9dd0
fix typo (mkostemp->mkstemp)
|
13 years ago |
David Kalnischkies
|
dc545c0bcd
use mkstemp instead of mkostemp in FileFd::Open()
|
13 years ago |
Angel Guzman Maeso
|
7335eebea6
replace usage of potential dangerous mktemp with mkstemp
|
13 years ago |
Ángel Guzmán Maeso
|
ec4835a14a
apt-pkg:contrib Avoid compiler warning about sign-compare
|
13 years ago |
Michael Vogt
|
488011fa99
* lp:~mvo/apt/add-glob-function:
|
14 years ago |
Michael Vogt
|
0c33605d98
Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sid
|
13 years ago |
David Kalnischkies
|
638593bd05
ensure that FileFd::Size returns 0 in error cases
|
13 years ago |
Michael Vogt
|
1b7bf822ad
add missing "free(buffer) for allocated buffer
|
13 years ago |
Michael Vogt
|
3d16590632
fix resource leak (thanks coverity)
|
13 years ago |
Michael Vogt
|
96ab3c6f62
always "delete d" in FileFd::~FileFd to coverity happy
|
13 years ago |
David Kalnischkies
|
2128d3fce4
fail in CopyFile if the FileFds have error flag set
|
13 years ago |
David Kalnischkies
|
f97bb52374
OpenDescriptor should autoclose fd always on error
|
13 years ago |
David Kalnischkies
|
ae635e3cf7
set Fail flag in FileFd on all errors consistently
|
13 years ago |
Michael Vogt
|
e3b402f403
fix double free (closes: #711045)
|
13 years ago |
David Kalnischkies
|
69c2ecbdc9
various simple changes to fix cppcheck warnings
|
13 years ago |
David Kalnischkies
|
b019fbab55
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
d3aac32ece
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
500400fedd
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
ff477ee133
ensure that d is set before accessing it
|
14 years ago |
David Kalnischkies
|
fbb89d946d
ensure that in error conditions the Fail flag is set
|
14 years ago |
David Kalnischkies
|
adbd7eb4db
collect zombie (de)compressor processes on reopen
|
14 years ago |
David Kalnischkies
|
ba667cf74b
ensure that we do init d only once and especially not with its own
|
14 years ago |
David Kalnischkies
|
afb093cd9b
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
0b4895d3d2
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
d68d65ad63
use a static FileFd::Write overload to reduce duplication of write()-retry code
|
14 years ago |