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

GHC cvs-ghc at haskell.org
Tue Apr 30 13:57:56 CEST 2013


#7473: getModificationTime gives only second-level resolution
----------------------------------+-----------------------------------------
  Reporter:  duncan               |          Owner:                  
      Type:  bug                  |         Status:  new             
  Priority:  normal               |      Milestone:  7.8.1           
 Component:  libraries/directory  |        Version:  7.6.1           
Resolution:                       |       Keywords:                  
        Os:  Unknown/Multiple     |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown         |     Difficulty:  Unknown         
  Testcase:                       |      Blockedby:                  
  Blocking:                       |        Related:                  
----------------------------------+-----------------------------------------

Comment(by refold):

 I've added a version of Neil's code to Cabal:

 https://github.com/haskell/cabal/blob/master/cabal-
 install/Distribution/Compat/Time.hs#L58

 Perhaps it can be reused for `directory`.

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



More information about the ghc-tickets mailing list