X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/cc130d7114425cc6f8c315e6cbc68be2cb4d3c38..1701312682aad167b4ff3425a8e9b680c04b49a5:/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; } }