Allow device names with more than one letter.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 26 May 1992 00:08:03 +0000 (00:08 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 26 May 1992 00:08:03 +0000 (00:08 +0000)
v7/src/runtime/dospth.scm

index 47b681e65c9ae9c6e1d9a345fb67320d3c3f3008..e845ed16810e468ace1a9a570593e7c6de167359 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/dospth.scm,v 1.3 1992/04/16 05:13:05 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/dospth.scm,v 1.4 1992/05/26 00:08:03 jinx Exp $
 
 Copyright (c) 1992 Massachusetts Institute of Technology
 
@@ -101,8 +101,11 @@ MIT in each case. |#
   (let ((colon (string-find-next-char string #\:)))
     (cond ((not colon)
           (receiver false string))
+         #|
+         ;; CON:,  PRN:, etc. are valid devices.
          ((not (= colon 1))
           (error "dos/parse-namestring: Invalid drive name" string))
+         |#
          (else
           (receiver (substring string 0 (1+ colon))
                     (substring string (1+ colon)