[Hackage] #845: [patch] Distribution/Compat/TempFile.hs: add dash separator before pid for createTempDirectory and openBinaryTempFile

Hackage cvs-ghc at haskell.org
Thu May 19 04:42:22 CEST 2011


#845: [patch] Distribution/Compat/TempFile.hs: add dash separator before pid for
createTempDirectory and openBinaryTempFile
----------------------------+-----------------------------------------------
  Reporter:  juhp           |        Owner:      
      Type:  enhancement    |       Status:  new 
  Priority:  normal         |    Milestone:      
 Component:  Cabal library  |      Version:  HEAD
  Severity:  normal         |     Keywords:      
Difficulty:  unknown        |   Ghcversion:      
  Platform:                 |  
----------------------------+-----------------------------------------------
 This patch just adds a '-' separator before pid when creating a temp
 directory or binary-file.

 So we get /tmp/mypkg-version/mypkg-version-pid/ instead
 of /tmp/mypkg-version/mypkg-versionpid/, which makes it
 much easier to pick out the version number.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/845>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list