From: Guillermo J. Rozas Date: Wed, 12 Aug 1992 08:42:46 +0000 (+0000) Subject: Add system-dependent pathname canonicalization. X-Git-Tag: 20090517-FFI~9133 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9fc117e220d8a75761a8e587a710356c74087012;p=mit-scheme.git Add system-dependent pathname canonicalization. --- diff --git a/v7/src/runtime/unxpth.scm b/v7/src/runtime/unxpth.scm index e83da27b7..2d911262f 100644 --- a/v7/src/runtime/unxpth.scm +++ b/v7/src/runtime/unxpth.scm @@ -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) ;;;; Pathname Parser