Commit 404e813c authored by Martin Pool's avatar Martin Pool

Add -vvv trace statement to set_modtime to help with Debian bug

#100295.
parent 90d0a8db
......@@ -240,10 +240,18 @@ void overflow(char *str)
int set_modtime(char *fname,time_t modtime)
int set_modtime(char *fname, time_t modtime)
{
extern int dry_run;
if (dry_run) return 0;
if (dry_run)
return 0;
if (verbose > 2) {
rprintf(FINFO, "set modtime of %s to (%ld) %s",
fname, (long) modtime,
asctime(localtime(&modtime)));
}
{
#ifdef HAVE_UTIMBUF
struct utimbuf tbuf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment