[Hackage] #256: Copying files during installation is oblivious to ~

Hackage trac at galois.com
Thu Mar 6 04:16:46 EST 2008


#256: Copying files during installation is oblivious to ~
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:                     
      Type:  defect         |       Status:  new                
  Priority:  low            |    Milestone:                     
 Component:  Cabal library  |      Version:  1.2.3.0            
  Severity:  normal         |   Resolution:                     
  Keywords:                 |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.2          |     Platform:                     
----------------------------+-----------------------------------------------
Comment (by ross at soi.city.ac.uk):

 Replying to [comment:10 guest]:
 > I'd like to see an error message. I don't understand why Ross says that
 it's not appropriate on Windows. There is a function
 System.FilePath.isAbsolute which would prevent a user from specifying
 anything that doesn't start with a drive letter.

 I was thinking of the simple slash test; certainly isAbsolute would be a
 portable solution.

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


More information about the cabal-devel mailing list