UnixOperatingSystem.st
changeset 14564 2f373e43fd1a
parent 14563 466905625978
child 14568 ca342ae94cb7
--- a/UnixOperatingSystem.st	Thu Dec 13 12:03:21 2012 +0100
+++ b/UnixOperatingSystem.st	Thu Dec 13 12:13:51 2012 +0100
@@ -4880,12 +4880,15 @@
 #endif
 %}.
 
-    [
-        path := path utf8Decoded.
-    ] on:InvalidEncodingError do:[:ex|
-        "maybe there are old filenames in ISO8859-x,
-         just keep them untranslated"
-    ].
+    path notNil ifTrue:[
+        [
+            path := path utf8Decoded.
+        ] on:InvalidEncodingError do:[:ex|
+            "maybe there are old filenames in ISO8859-x,
+             just keep them untranslated"
+        ].
+    ].
+    
     mode notNil ifTrue:[
         ^ FileStatusInfo
             type:type
@@ -13289,11 +13292,11 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.288 2012-12-13 11:03:21 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.289 2012-12-13 11:13:51 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.288 2012-12-13 11:03:21 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.289 2012-12-13 11:13:51 stefan Exp $'
 ! !
 
 UnixOperatingSystem initialize!