Repository : ssh://darcs.haskell.org//srv/darcs/packages/process

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8d7a7c234e86aca4d54d55de92fb3a302fcf102b

>---------------------------------------------------------------

commit 8d7a7c234e86aca4d54d55de92fb3a302fcf102b
Author: Ian Lynagh <[email protected]>
Date:   Tue Sep 25 23:12:25 2012 +0100

    Add .,/ to the list of characters that showCommandForUser allows unquoted

>---------------------------------------------------------------

 System/Process/Internals.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs
index 4f9159f..72e0bfd 100644
--- a/System/Process/Internals.hs
+++ b/System/Process/Internals.hs
@@ -598,7 +598,7 @@ translate str
  | otherwise        = '\'' : foldr escape "'" str
   where escape '\'' = showString "'\\''"
         escape c    = showChar c
-        goodChar c = isAlphaNum c || c == '-' || c == '_'
+        goodChar c = isAlphaNum c || c `elem` "-_.,/"
 #endif
 
 -- ----------------------------------------------------------------------------



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to