*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Tue, 29 Apr 1997 09:50:09 +0200
changeset 2595 def484099c18
parent 2594 7e5990eb68ec
child 2596 36c872e47b00
*** empty log message ***
Filename.st
--- a/Filename.st	Mon Apr 28 23:02:01 1997 +0200
+++ b/Filename.st	Tue Apr 29 09:50:09 1997 +0200
@@ -1271,19 +1271,19 @@
     OperatingSystem isUNIXlike ifTrue:[
         typeString := 'regular'.
         stream := PipeStream readingFrom:('file ' , self pathName).
-        stream notNil ifTrue:[
-            typeString := stream contents asString.
-            stream close.
-            typeString := typeString copyFrom:(typeString indexOf:$:) + 1.
-            typeString := typeString withoutSeparators
-        ] ifFalse:[
-            "
-             could add some fallback code here, for systems, where no
-             file command is avaliable ...
-             ... or at least analyze directory info.
-            "
-	    typeString := 'file'.
-	]
+    ].
+    stream notNil ifTrue:[
+        typeString := stream contents asString.
+        stream close.
+        typeString := typeString copyFrom:(typeString indexOf:$:) + 1.
+        typeString := typeString withoutSeparators
+    ] ifFalse:[
+        "
+         could add some fallback code here, for systems, where no
+         file command is avaliable ...
+         ... or at least analyze directory info.
+        "
+        typeString := 'file'.
     ].
     ^ typeString
 
@@ -2218,5 +2218,5 @@
 !Filename class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.86 1997-04-26 14:06:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.87 1997-04-29 07:50:09 cg Exp $'
 ! !