Ignore:
Timestamp:
09/19/05 16:54:42 (16 years ago)
Author:
piso
Message:

If PATHNAME and DEFAULTS have different hosts, then ENOUGH-NAMESTRING should return the namestring of PATHNAME.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/enough-namestring.lisp

    r7820 r9989  
    11;;; enough-namestring.lisp
    22;;;
    3 ;;; Copyright (C) 2004 Peter Graves
    4 ;;; $Id: enough-namestring.lisp,v 1.2 2004-09-27 00:09:19 piso Exp $
     3;;; Copyright (C) 2004-2005 Peter Graves
     4;;; $Id: enough-namestring.lisp,v 1.3 2005-09-19 16:54:42 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    2929                          &optional
    3030                          (defaults *default-pathname-defaults*))
     31  (unless (equal (pathname-host pathname) (pathname-host defaults))
     32    (return-from enough-namestring (namestring pathname)))
    3133  (let ((pathname-directory (pathname-directory pathname)))
    3234    (if pathname-directory
Note: See TracChangeset for help on using the changeset viewer.