View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012261CMakeCMakepublic2011-06-09 13:582012-02-06 06:07
ReporterPino Toscano 
Assigned ToBrad King 
PrioritynormalSeveritytrivialReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012261: Enable gettimeofday() for any glibc-based platform
DescriptionCurrently, SystemTools::GetTime() on UNIX can use gettimeofday() (if available) to get the time in microseconds resolution, otherwise the classic time() (with the resolution of seconds) is used.
Given gettimeofday() is POSIX (although marked obsolete in POSIX.1-2008) and thus implemented by glibc, it can be enabled for any platform using glibc.

Attached there is a git formatted patch with the proposed change.
TagsNo tags attached.
Attached Filespatch file icon 0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch [^] (982 bytes) 2011-06-09 13:58 [Show Content]
patch file icon a6668106+0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch [^] (4,077 bytes) 2011-06-16 10:44 [Show Content]

 Relationships

  Notes
(0026880)
Brad King (manager)
2011-06-16 10:45

I propose patch

  a6668106+0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch

instead which cleans up a bunch of historical cruft.
(0027163)
Brad King (manager)
2011-08-03 14:51

I applied the patch previously proposed:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=74e1156b [^]
(0028500)
David Cole (manager)
2012-02-06 06:07

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-06-09 13:58 Pino Toscano New Issue
2011-06-09 13:58 Pino Toscano File Added: 0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch
2011-06-13 14:46 David Cole Assigned To => David Cole
2011-06-13 14:46 David Cole Status new => assigned
2011-06-16 10:44 Brad King File Added: a6668106+0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch
2011-06-16 10:45 Brad King Note Added: 0026880
2011-08-03 14:51 Brad King Note Added: 0027163
2011-08-03 14:51 Brad King Status assigned => resolved
2011-08-03 14:51 Brad King Resolution open => fixed
2011-08-03 14:51 Brad King Assigned To David Cole => Brad King
2011-09-12 17:10 David Cole Fixed in Version => CMake 2.8.6
2011-09-12 17:10 David Cole Target Version => CMake 2.8.6
2012-02-06 06:07 David Cole Note Added: 0028500
2012-02-06 06:07 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team