- The files are regenerated from scratch, involving header record
numbers moving around, possibly removing broken headers and all.
Don't pretend nothing changed when some changes almost certainly,
occurred, various API users rely on rpmdb mtime for determining
whether the db has changed since they last accessed it.
goto cont;
/*
- * Restore uid/gid/mode/mtime/security context if possible.
+ * Restore uid/gid/mode/security context if possible.
*/
if (stat(dest, &st) < 0)
if (stat(src, &st) < 0)
}
xx = chown(dest, st.st_uid, st.st_gid);
xx = chmod(dest, (st.st_mode & 07777));
- { struct utimbuf stamp;
- stamp.actime = st.st_atime;
- stamp.modtime = st.st_mtime;
- xx = utime(dest, &stamp);
- }
if (selinux) {
security_context_t scon = NULL;