X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/cc130d7114425cc6f8c315e6cbc68be2cb4d3c38..51da0c3587c9d36a3c04b3e28b99d8331a29b230:/ftparchive/multicompress.cc?ds=sidebyside diff --git a/ftparchive/multicompress.cc b/ftparchive/multicompress.cc index c1bd6037a..f35d5304a 100644 --- a/ftparchive/multicompress.cc +++ b/ftparchive/multicompress.cc @@ -20,12 +20,15 @@ #include #include #include +#include +#include -#include +#include +#include #include #include +#include #include -#include #include "multicompress.h" #include @@ -237,7 +240,7 @@ bool MultiCompress::Finalize(unsigned long long &OutSize) if (UpdateMTime > 0 && (Now - St.st_mtime > (signed)UpdateMTime || St.st_mtime > Now)) { - utimensat(AT_FDCWD, I->Output.c_str(), NULL, AT_SYMLINK_NOFOLLOW); + utimes(I->Output.c_str(), NULL); Changed = true; } }