slash from the filename before giving it to the primitive. Previously
these were forcing a trailing slash onto the filename. Most unix
implementations don't care about this, but Linux rejects the old
behavior, and the new behavior is more "correct", in the sense that
this is an operation on the file that is the directory.
#| -*-Scheme-*-
-$Id: unxprm.scm,v 1.38 1995/04/23 05:24:18 cph Exp $
+$Id: unxprm.scm,v 1.39 1995/10/18 05:02:57 cph Exp $
Copyright (c) 1988-95 Massachusetts Institute of Technology
(define (make-directory name)
((ucode-primitive directory-make 1)
- (->namestring (pathname-as-directory (merge-pathnames name)))))
+ (->namestring (directory-pathname-as-file (merge-pathnames name)))))
(define (delete-directory name)
((ucode-primitive directory-delete 1)
- (->namestring (pathname-as-directory (merge-pathnames name)))))
+ (->namestring (directory-pathname-as-file (merge-pathnames name)))))
(define (os/default-end-of-line-translation)
#f)