diff options
author | Michael Vogt <mvo@debian.org> | 2014-02-07 20:15:52 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-02-07 20:15:52 +0100 |
commit | 043d80193e507202d3e1b9456ed802940f2611d7 (patch) | |
tree | a833993818b97b3c7689ee3e7e2771fb5600889f /ftparchive/multicompress.cc | |
parent | 37c61d76869a50110e298b042660eb5120a282c8 (diff) | |
parent | 9f2df510b17f6b64801677915f5c25f73290d3f4 (diff) |
Merge branch 'debian/sid' into ubuntu/master
Conflicts:
configure.ac
debian/changelog
Diffstat (limited to 'ftparchive/multicompress.cc')
-rw-r--r-- | ftparchive/multicompress.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/multicompress.cc b/ftparchive/multicompress.cc index 265fb1a80..c1bd6037a 100644 --- a/ftparchive/multicompress.cc +++ b/ftparchive/multicompress.cc @@ -365,7 +365,7 @@ bool MultiCompress::Child(int const &FD) for (Files *I = Outputs; I != 0; I = I->Next) { // Set the correct file modes - fchmod(I->TmpFile.Fd(),Permissions); + chmod(I->TmpFile.Name().c_str(),Permissions); if (rename(I->TmpFile.Name().c_str(),I->Output.c_str()) != 0) _error->Errno("rename",_("Failed to rename %s to %s"), |