Change file-touch to return #t if the file did not exist previously
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Wed, 4 Apr 1990 18:51:37 +0000 (18:51 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Wed, 4 Apr 1990 18:51:37 +0000 (18:51 +0000)
and was succesfully created, #f if it existed, and was succesfully
modified, and an error string otherwise.

v7/src/runtime/unxprm.scm

index fc80fc1a0995c6f647dd3be45c3cd9ebc1f12a8a..f9e6e5023a6ea20f88c9af7378cadf9c01ffee59 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/unxprm.scm,v 1.7 1990/04/04 18:23:16 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/unxprm.scm,v 1.8 1990/04/04 18:51:37 jinx Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -145,5 +145,5 @@ MIT in each case. |#
                 result
                 (error-irritant/noise #\newline)
                 (error-irritant/noise "within procedure")
-                (ucode-primitive file-touch)))))
-  unspecific)
\ No newline at end of file
+                (ucode-primitive file-touch))
+         result))))
\ No newline at end of file