|
Re: Using filenames which contain wildcard characters: msg#00107lisp.clisp.general
Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx> writes: > Sam Steingold writes: [...] >> CLHS is quite explicit on OPEN: >> >> An error of type file-error is signaled if (wild-pathname-p filespec) >> returns true. >> >> It is possible to add an keyword option to OPEN to circumvent it, but >> it will not be portable. >> Maybe it would be better to avoid such pathnames? Absolutely, but unfortunately I'm at the mercy of whatever bogus names people have decided to give their files :o) > Or to use a unix API (linux package in clisp). See the current POSIX > thread on comp.lang.lisp... Thanks for the suggestions. Given that the hyperspec makes it clear that an error should be signalled (sorry to have missed that), the behaviour is understandable. The linux package should do the trick for my purposes anyway. Thanks again, Mark -- Mark Triggs <mst@xxxxxxxxxxxxxxx> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: SBCL build, MAKE-LOAD-FORM, buglets: 00107, Christophe Rhodes |
|---|---|
| Next by Date: | Re: SBCL build, MAKE-LOAD-FORM, buglets: 00107, Christophe Rhodes |
| Previous by Thread: | Re: Using filenames which contain wildcard charactersi: 00107, Sam Steingold |
| Next by Thread: | Re: Using filenames which contain wildcard characters: 00107, Marco Antoniotti |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |