;;; -*-Scheme-*-
;;;
-;;; $Id: dos.scm,v 1.18 1994/10/26 20:12:23 adams Exp $
+;;; $Id: dos.scm,v 1.19 1994/12/19 19:41:51 cph Exp $
;;;
;;; Copyright (c) 1992-1994 Massachusetts Institute of Technology
;;;
((ucode-primitive set-working-directory-pathname! 1) outside)
(set-working-directory-pathname! outside)
(start-thread-timer)))))
+
+(define (os/set-file-modes-writable! pathname)
+ (set-file-modes! pathname #o777))
\ No newline at end of file
;;; -*-Scheme-*-
;;;
-;;; $Id: fileio.scm,v 1.121 1994/11/20 05:06:21 cph Exp $
+;;; $Id: fileio.scm,v 1.122 1994/12/19 19:42:13 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-94 Massachusetts Institute of Technology
;;;
(->namestring pathname)))
(lambda ()
(let ((m (file-modes pathname)))
- (set-file-modes! pathname #o777)
+ (os/set-file-modes-writable! pathname)
(set! modes m)))))
(write-buffer buffer)))
(if modes
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.42 1994/03/16 23:26:54 cph Exp $
+;;; $Id: unix.scm,v 1.43 1994/12/19 19:42:26 cph Exp $
;;;
;;; Copyright (c) 1989-94 Massachusetts Institute of Technology
;;;
(define (os/quit dir)
dir ; ignored
- (%quit))
\ No newline at end of file
+ (%quit))
+
+(define (os/set-file-modes-writable! pathname)
+ (set-file-modes! pathname #o777))
\ No newline at end of file