wanted: a reasonable way to control pathname external format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Replicated from http://
mkdir /tmp/foo/
cd /tmp/foo/
touch `printf "\x3f\xff\xb0"`
Then on SBCL 1.0.30.27:
(directory (make-pathname :defaults #P"/tmp/foo/" :name :wild))
c-string decoding error (:external-format :UTF-8):
the octet sequence 4 cannot be decoded.
[Condition of type SB-INT:
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [ABORT] Return to SLIME's top level.
2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" RUNNING {AD8C7B9}>)
Backtrace:
0: (SB-INT:
1: (SB-IMPL:
2: ((FLET SB-IMPL::ONE-ITER))
3: ((FLET SB-IMPL::ITERATE) #<CLOSURE (FLET SB-IMPL::ONE-ITER) {B4EEA645}>)
4: (SB-IMPL:
5: (SB-IMPL:
6: (SB-IMPL:
7: (DIRECTORY #P"/tmp/
On an SBCL (1.0.11) before the changes on DIRECTORY the form simply returns NIL.
description: | updated |
tags: | added: external-formats feature |
summary: |
- DIRECTORY fails on directories which contain junk in file names + wanted: a reasonable way to control pathname external format |
Changed in sbcl: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in sbcl: | |
status: | Confirmed → Triaged |
Changed in sbcl: | |
importance: | Medium → Wishlist |
At the moment, this makes the ,load-system Slime-REPL shortcut fail REGISTRY* ,
for me because that grovels the directories in ASDF:*CENTRAL-
including a directory that contains such a junk file name.