Calling localtime() a second time overwrites the result of the first call.
Use localtime_r() instead.
PR: 218018
Differential D10140
diff: Fix mtime of file1 in -u/-c header line. jilles on Mar 25 2017, 10:10 PM. Authored by Tags None Referenced Files
Subscribers
Details
Calling localtime() a second time overwrites the result of the first call. PR: 218018 A new test case is included.
Diff Detail
|