mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
DEVEL15-bozo-corefile-timestamp-fix-20090216
LICENSE IPL10
FIXES 124340
output y2k-correct corefile names
(cherry picked from commit 846919700b
)
This commit is contained in:
parent
298e3bde1e
commit
919fac924a
@ -147,7 +147,7 @@ SaveCore(register struct bnode *abnode, register struct bnode_proc
|
||||
FT_GetTimeOfDay(&Start, 0);
|
||||
TimeFields = localtime(&Start.tv_sec);
|
||||
sprintf(FileName, "%s.%d%02d%02d%02d%02d%02d", tbuffer,
|
||||
TimeFields->tm_year, TimeFields->tm_mon + 1, TimeFields->tm_mday,
|
||||
TimeFields->tm_year + 1900, TimeFields->tm_mon + 1, TimeFields->tm_mday,
|
||||
TimeFields->tm_hour, TimeFields->tm_min, TimeFields->tm_sec);
|
||||
strcpy(tbuffer, FileName);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user