|
From: CRLF0710 <crl...@gm...> - 2013-02-04 14:47:22
|
Hi, we have noticed that when you include bracket characters in the filename component of a pathname object (or a string), WILD-PATHNAME-P will return true. I knew this is a feature, but... brackets are usually legal characters in filenames in many filesystems, and when dealing with them, it's really easy to involve bugs. You'll have to use parse-native-namestring to convert such a string to pathname, which forbids the use of other wildcard characters in other places and also encourages writing non-portable code. I think it is possible to include a boolean variable (in the sb-impl package) to toggle this. When we turn this feature off, we can recognize brackets as normal characters. It is convenient and doesn't break compability. Is that a good idea? Regards, Charles Lew. -- Wir müssen wissen; wir werden wissen! CrLF.0710 |