summaryrefslogtreecommitdiffstats
path: root/scheme2c.init
diff options
context:
space:
mode:
Diffstat (limited to 'scheme2c.init')
-rw-r--r--scheme2c.init7
1 files changed, 5 insertions, 2 deletions
diff --git a/scheme2c.init b/scheme2c.init
index ccc9a84..80b91d1 100644
--- a/scheme2c.init
+++ b/scheme2c.init
@@ -208,6 +208,9 @@
(define pretty-print pp)
+;;@ (FILE-POSITION <port> . <k>)
+(define (file-position . args) #f)
+
;;; (OUTPUT-PORT-WIDTH <port>)
(define (output-port-width . arg) 79)
@@ -229,13 +232,13 @@
;;; (FILE-EXISTS? <string>)
(define (file-exists? f)
(case (software-type)
- ((unix) (zero? (system (string-append "test -f " f))))
+ ((unix) (zero? (system (string-append "test -f '" f "'"))))
(else (slib:error "FILE-EXISTS? not defined for " software-type))))
;;; (DELETE-FILE <string>)
(define (delete-file f)
(case (software-type)
- ((unix) (zero? (system (string-append "rm " f))))
+ ((unix) (zero? (system (string-append "rm '" f "'"))))
(else (slib:error "DELETE-FILE not defined for " software-type))))
;;; FORCE-OUTPUT flushes any pending output on optional arg output port