From 9fc117e220d8a75761a8e587a710356c74087012 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Wed, 12 Aug 1992 08:42:46 +0000 Subject: [PATCH] Add system-dependent pathname canonicalization. --- v7/src/runtime/unxpth.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.25.1