Add system-dependent pathname canonicalization.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Wed, 12 Aug 1992 08:42:46 +0000 (08:42 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Wed, 12 Aug 1992 08:42:46 +0000 (08:42 +0000)
v7/src/runtime/unxpth.scm

index e83da27b7cc9938d4d98cfbdeeef44a37f68f338..2d911262f33d7d9c159da4fd3a7c9f30854a6367 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/unxpth.scm,v 14.11 1992/04/16 05:12:55 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/unxpth.scm,v 14.12 1992/08/12 08:42:46 jinx Exp $
 
 Copyright (c) 1988-1992 Massachusetts Institute of Technology
 
@@ -50,10 +50,16 @@ MIT in each case. |#
                  unix/user-homedir-pathname
                  unix/init-file-pathname
                  unix/pathname-simplify
-                 unix/end-of-line-string))
+                 unix/end-of-line-string
+                 unix/canonicalize))
 
 (define (initialize-package!)
   (add-pathname-host-type! 'UNIX make-unix-host-type))
+
+(define (unix/canonicalize pathname)
+  ;; No name truncation -- this is not really true:
+  ;; 14 chars for SYSV, 255 for BSD.
+  pathname)
 \f
 ;;;; Pathname Parser