aboutsummaryrefslogtreecommitdiff
path: root/Backend/WORM.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-11 15:37:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-11 15:37:37 -0400
commit5a50a7cf137997a9d940b9a89a0968452a1ac411 (patch)
tree64ac76dc4a4327a2b3eafbee28c45670af71340f /Backend/WORM.hs
parent285fb2bb08c7da534c111ebfeee5911e850570cc (diff)
update unicode FilePath handling
Based on http://hackage.haskell.org/trac/ghc/ticket/3307 , whether FilePath contains decoded unicode varies by OS. So, add a configure check for it. Also, renamed showFile to filePathToString
Diffstat (limited to 'Backend/WORM.hs')
-rw-r--r--Backend/WORM.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/WORM.hs b/Backend/WORM.hs
index 7f40a2acb..92fe5a2d4 100644
--- a/Backend/WORM.hs
+++ b/Backend/WORM.hs
@@ -67,5 +67,5 @@ checkKeySize key = do
then return True
else do
dest <- moveBad key
- warning $ "Bad file size; moved to " ++ showFile dest
+ warning $ "Bad file size; moved to " ++ filePathToString dest
return False