Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
7e3b6a9d
Commit
7e3b6a9d
authored
Feb 10, 2014
by
Robert P. Goldman
Browse files
Blind alley attempt to use Allegro function for DIRECTORY-PATHNAME-P.
parent
b54f9033
Changes
1
Show whitespace changes
Inline
Side-by-side
uiop/pathname.lisp
View file @
7e3b6a9d
...
...
@@ -302,6 +302,13 @@ ways that the filename components can be missing are for it to be NIL,
Note that this does _not_ check to see that PATHNAME points to an
actually-existing directory."
(
when
pathname
#+
allegro
(
handler-case
(
excl:file-directory-p
pathname
)
;; Allegro can be fussy about translating oddball pathnames
;; to namestrings
(
file-error
()
nil
))
#-
allegro
(
let
((
pathname
(
pathname
pathname
)))
(
flet
((
check-one
(
x
)
(
member
x
'
(
nil
:unspecific
""
)
:test
'equal
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment