to determine appropriate line-translation by interrogating the file
system to determine its type. Currently this is interesting only for
OS/2, in which it is common to mount unix file systems.
#| -*-Scheme-*-
-$Id: os2prm.scm,v 1.19 1995/10/23 06:38:35 cph Exp $
+$Id: os2prm.scm,v 1.20 1995/10/23 06:52:09 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
"\\"))
\f
(define (os2/fs-drive-type pathname)
- (let ((type ((ucode-primitive drive-type 1) (pathname-device pathname))))
+ (let ((type
+ ((ucode-primitive drive-type 1)
+ (pathname-device (merge-pathnames pathname)))))
(let ((colon (string-find-next-char type #\:)))
(if colon
(cons (string-head type colon) (string-tail type (fix:+ colon 1)))