[Hackage] #741: cabal-install: wrong use of mktemp in bash completion script

Hackage cvs-ghc at haskell.org
Thu Sep 23 04:10:56 EDT 2010


#741: cabal-install: wrong use of mktemp in bash completion script
---------------------------------+------------------------------------------
  Reporter:  nomeata             |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.3
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:  Linux               |  
---------------------------------+------------------------------------------
 The following bug was reported by Jan Braun against the Debian bugtracker
 at http://bugs.debian.org/597769

 Hi,
 the bash completion script
 1) does not check the return value of mktemp and
 2) fails in the presence of "set -o noclobber"
 attached is a patch to fix both.

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



More information about the cabal-devel mailing list