mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5657
This commit is contained in:
parent
3749da408f
commit
71c9615182
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue