[GHC] #7473: getModificationTime gives only second-level resolution

GHC ghc-devs at haskell.org
Fri Oct 10 09:47:03 UTC 2014


#7473: getModificationTime gives only second-level resolution
-------------------------------------+-------------------------------------
              Reporter:  duncan      |            Owner:  ekmett
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:  7.6.1
  Libraries                          |         Keywords:  directory
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by redneb):

 I have a patch for this issue that is basically ready. The only thing
 preventing me from submitting it is the fact that when
 `getFileAttributesExStandard` was added in Win32 the version number was
 not bumped properly. Because of that, I cannot use the MIN_VERSION_Win32
 macro which is needed in order to provide a version of
 `getModificationTime` that works with all version of the Win32 package. If
 you bump one of the first 3 components of the version number of Win32,
 then I will finish and submit my patch. See also [1].

 [1] https://github.com/haskell/win32/issues/13

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7473#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list