[Hackage] #712: File names can contain spaces

Hackage cvs-ghc at haskell.org
Sat Jul 17 16:41:37 EDT 2010


#712: File names can contain spaces
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:      
      Type:  defect         |       Status:  new 
  Priority:  normal         |    Milestone:      
 Component:  Cabal library  |      Version:  HEAD
  Severity:  normal         |     Keywords:      
Difficulty:  unknown        |   Ghcversion:      
  Platform:                 |  
----------------------------+-----------------------------------------------
 Some operating systems support file names containing spaces.  However,
 Cabal's package description parser breaks fields such as extra-lib-dirs on
 spaces, regardless of the presence or absence of quotation marks and the
 like.   For instance, using the source tarball available from
 http://hackage.haskell.org/package/Cabal, we have:

 *Distribution.PackageDescription.Parse Distribution.Compat.ReadP>
 readP_to_S parseFilePathQ "\"C:\\Path With Spaces\\\""
 [("\"C:\\Path"," With Spaces\\\"")]

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



More information about the cabal-devel mailing list