Changeset 6643
- Timestamp:
- Jun 3, 2007, 2:42:23 AM (17 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/level-1/l1-files.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/level-1/l1-files.lisp
r6490 r6643 432 432 (require-type reference-host '(or null string)) 433 433 (multiple-value-bind (sstr start end) (get-sstring string start end) 434 (if (and (> end start) 435 (eql (schar sstr start) #\~)) 436 (setq sstr (tilde-expand (subseq sstr start end)) 437 start 0 438 end (length sstr))) 434 439 (let (directory name type host version (start-pos start) (end-pos end) has-slashes) 435 440 (multiple-value-setq (host start-pos has-slashes) (pathname-host-sstr sstr start-pos end-pos)) … … 689 694 (string 690 695 (multiple-value-bind (sstr start end) (get-sstring path) 696 #+no 697 (if (and (> end start) 698 (eql (schar sstr start) #\~)) 699 (setq sstr (tilde-expand (subseq sstr start end)) 700 start 0 701 end (length sstr))) 691 702 (multiple-value-bind (host pos2) (pathname-host-sstr sstr start end) 692 703 (unless (eq host :unspecific) (setq logical-p t)) … … 701 712 ;; Must match pathname-directory-end below 702 713 (defun pathname-directory-sstr (sstr start end host) 714 (if (and (eq host :unspecific) 715 (> end start) 716 (eql (schar sstr start) #\~)) 717 (setq sstr (tilde-expand (subseq sstr start end)) 718 start 0 719 end (length sstr))) 703 720 (let ((pos (%path-mem-last (if (eq host :unspecific) "/" ";") sstr start end))) 704 721 (if pos
Note:
See TracChangeset
for help on using the changeset viewer.
