X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/cc130d7114425cc6f8c315e6cbc68be2cb4d3c38..55ef358b06854768cea247870e1d2f28a5955b90:/ftparchive/multicompress.cc 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; } }