From 64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:38 -0800 Subject: Import Upstream version 3a5 --- scheme2c.init | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scheme2c.init') 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 . ) +(define (file-position . args) #f) + ;;; (OUTPUT-PORT-WIDTH ) (define (output-port-width . arg) 79) @@ -229,13 +232,13 @@ ;;; (FILE-EXISTS? ) (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 ) (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 -- cgit v1.2.3