Commit f03c720a authored by rswindell's avatar rswindell
Browse files

Update to ftouch(), return FALSE if utime() fails (returns non-zero).

parent d9637586
......@@ -117,9 +117,7 @@ BOOL ftouch(const char* fname)
close(file);
}
/* update the time stamp */
utime(fname,NULL);
return(TRUE);
return utime(fname,NULL)==0;
}
BOOL fmutex(const char* fname, const char* text, long max_age)
......
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