Bug 7089 - ccache should use utimes() over utime()
ccache should use utimes() over utime()
Product: ccache
Classification: Unclassified
Component: ccache
Other Linux
: P3 normal
: 3.0
Assigned To: Joel Rosdahl
Joel Rosdahl
Depends on:
  Show dependency treegraph
Reported: 2010-02-02 12:25 UTC by Mike Frysinger
Modified: 2010-07-09 04:15 UTC (History)
0 users

See Also:

ccache-2.4-utimes.patch (3.19 KB, patch)
2010-02-02 12:25 UTC, Mike Frysinger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2010-02-02 12:25:21 UTC
utime(...,NULL) in some cases may cause truncation of sub-second portions of timestamps. If utimes(...,NULL) is available, use it instead to avoid this problem.

patch by Robin H. Johnson <robbat2@gentoo.org>
Comment 1 Mike Frysinger 2010-02-02 12:25:36 UTC
Created attachment 5256 [details]
Comment 2 Joel Rosdahl 2010-02-20 03:07:22 UTC
This patch was committed as 237bee66157f59be586fa1f558804c92860c0ead and will show up in the 3.0 release.