*** empty log message ***

svn path=/trunk/boinc/; revision=5657
This commit is contained in:
David Anderson 2005-03-14 07:04:06 +00:00
parent 3749da408f
commit 71c9615182
2 changed files with 10 additions and 5 deletions

View File

@ -25934,3 +25934,6 @@ David 13 Mar 2005
handle_request.C
sched_config.C,h
sched_send.C
David 13 Mar 2005
- db_dump: name archive dirs X_YYYY_mm_dd_hh_mm_ss

View File

@ -836,14 +836,16 @@ int main(int argc, char** argv) {
struct tm* tmp;
time_t now = time(0);
tmp = gmtime(&now);
sprintf(buf, "mv %s %s_%d_%d_%d_%d",
tmp = localtime(&now);
sprintf(buf, "mv %s %s_%d_%d_%d_%d_%d_%d",
spec.final_output_dir,
spec.final_output_dir,
tmp->tm_mday,
tmp->tm_mon+1,
1900+tmp->tm_year,
(int)now
tmp->tm_mon+1,
tmp->tm_mday,
tmp->tm_hour,
tmp->tm_min,
tmp->tm_sec
);
retval = system(buf);
if (retval) {