Opened 14 years ago

Last modified 21 months ago

#133 assigned defect

Mixed case inconsistency in TRANSLATE-LOGICAL-PATHNAMES

Reported by: Mark Evenson Owned by: Mark Evenson
Priority: minor Milestone: 1.9.2
Component: interpreter Version: 0.24
Keywords: has-test ansi-conformance Cc:
Parent Tickets:

Description

Jonathan Boca reports

As the following code and transcript demonstrate,
translate-logical-pathname appears to be downcasing paths
inconsistently:

;;; test.cl
(setf (logical-pathname-translations "foo")
  '(("foo:bar;*.lisp" "/FooRoot/bar/*.lisp")
    ("foo:*.lisp" "/FooRoot/*.lisp")))

;;; In the following pathname translation, the entire path is downcased
(pprint (translate-logical-pathname "foo:bar;foobar.lisp"))
;;; In each of the next two, the entire path EXCEPT for the host is
downcased --
;;; the host is unchanged
(pprint (translate-logical-pathname "foo:foobar.lisp"))
(pprint (translate-logical-pathname "foo:Foobar.lisp"))

---
Armed Bear Common Lisp 0.24.0
Java 1.6.0_22 Apple Inc.
Java HotSpot(TM) Client VM
Low-level initialization completed in 0.478 seconds.
Startup completed in 1.386 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (load "test.cl")

#P"/fooroot/bar/foobar.lisp"
#P"/FooRoot/foobar.lisp"
#P"/FooRoot/foobar.lisp"
T
CL-USER(2):
---

SBCL and CLISP both produce the following output for the above code:

#P"/FooRoot/bar/foobar.lisp"
#P"/FooRoot/foobar.lisp"
#P"/FooRoot/foobar.lisp"

Allegro's ALISP and MLISP both produce the following:

#P"/FooRoot/bar/foobar.lisp"
#P"/FooRoot/foobar.lisp"
#P"/FooRoot/Foobar.lisp"

Change History (27)

comment:1 Changed 14 years ago by Mark Evenson

Probably from same cause as #132.

comment:2 Changed 14 years ago by ehuelsmann

Milestone: 0.250.26

comment:3 Changed 13 years ago by Mark Evenson

Keywords: needs_test conformance added
Milestone: 0.260.27
Priority: majorminor

Needs test coverage.

comment:4 Changed 13 years ago by Mark Evenson

Milestone: 0.270.28

comment:5 Changed 13 years ago by Mark Evenson

Milestone: 0.281.0.1

comment:6 Changed 13 years ago by Mark Evenson

Milestone: 1.0.11.1.0

comment:7 Changed 12 years ago by Mark Evenson

Owner: changed from ehuelsmann to Mark Evenson
Status: newassigned

comment:8 Changed 12 years ago by Mark Evenson

Keywords: needs-test ansi-conformance added; needs_test conformance removed

comment:9 Changed 12 years ago by Evenson Not Org

Milestone: 1.1.01.1.1

comment:10 Changed 12 years ago by Mark Evenson

Milestone: 1.1.11.2.0

comment:11 Changed 12 years ago by Mark Evenson

Keywords: has-test added; needs-test removed

comment:12 Changed 11 years ago by Evenson Not Org

Milestone: 1.2.01.3.0

comment:13 Changed 11 years ago by Mark Evenson

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:14 Changed 11 years ago by Mark Evenson

Milestone: 2.02.0.0

Milestone renamed

comment:15 Changed 11 years ago by Mark Evenson

Milestone: 2.0.01.4.0

comment:16 Changed 8 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:17 Changed 7 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:18 Changed 5 years ago by Mark Evenson

Milestone: 1.6.01.6.1

Ticket retargeted after milestone closed

comment:19 Changed 5 years ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:20 Changed 4 years ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:21 Changed 4 years ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:22 Changed 4 years ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:23 Changed 4 years ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

comment:24 Changed 4 years ago by Mark Evenson

Milestone: 1.8.01.8.1

Ticket retargeted after milestone closed

comment:25 Changed 3 years ago by Mark Evenson

Milestone: 1.8.11.9.0

comment:26 Changed 22 months ago by Mark Evenson

Milestone: 1.9.01.9.1

comment:27 Changed 21 months ago by Mark Evenson

Milestone: 1.9.11.9.2
Note: See TracTickets for help on using tickets.