How about changing Make_Date to be like this?
char *
Make_Date (rawdate)
char *rawdate;
{
time_t unixtime;
! if (*rawdate == '/') {
! struct stat sb;
! unixtime = stat(rawdate, &sb) < 0 ? 0 : sb.st_mtime;
! }
! else
! unixtime = get_date (rawdate, (struct timeb *) NULL);
if (unixtime == (time_t) - 1)
error (1, 0, "Can't parse date/time: %s", rawdate);
return date_from_time_t (unixtime);
}
Then you could use the filesystem to keep timestamps...
- -D/path/to/file Rich Salz
- -D/path/to/file Rich Salz
