UnixFilename.st
changeset 23042 def1ea6ee127
parent 22276 07e8e8a1bfbd
child 23600 f7a4056adc93
--- a/UnixFilename.st	Thu May 31 08:57:29 2018 +0200
+++ b/UnixFilename.st	Thu May 31 09:56:34 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
@@ -45,14 +47,16 @@
 
 examples
     "
-        (self named:'/tmp/äöü') writeStream close
+        (self named:'/tmp/äöü') writeStream close
     "
 ! !
 
 !UnixFilename class methodsFor:'defaults'!
 
 defaultTempDirectoryName
-    "return the default temp directory as a filename."
+    "return the default temp directory as a filename.
+     By default, this is '/tmp', but can be overriden by one of
+     the shell variables: ('STX_TMPDIR' 'ST_TMPDIR' 'TMPDIR' 'TEMPDIR' 'TEMP' 'TMP')"
 
     |tempDirString tempDir|
 
@@ -77,6 +81,8 @@
      Filename defaultTempDirectoryName exists
      Filename defaultTempDirectoryName isWritable
     "
+
+    "Modified (comment): / 31-05-2018 / 09:56:20 / Claus Gittinger"
 ! !
 
 !UnixFilename class methodsFor:'queries'!