From: <ma...@at...> - 2000-12-12 18:10:01
|
William Harold Newman wrote: > > In his patch for bug #17, in DEFUN TRY-DEFAULT-TYPES, Martin Atzmueller > has this code: > + (if (typep pathname 'logical-pathname) > + (frob pathname (string-upcase type)) > + (frob pathname type)) > I don't know the pathname system very well, so there might be some > obvious reason for it that I just don't know, but I can't see why the > string should be upcased in one case and not the other. Could someone Per CLHS, logical-pathname strings are assumed to contain only uppercase characters, as far as I know. If the type is not upcased in the code above, the file will not be found. You will find a similar piece of code in the logical-pathname patch in %make-pathname or so, where I upcased the components, too. Actually doing this is not _in_ the standard, but it seems reasonable looking at the writeup issue "LOGICAL-PATHNAME:ADD" in CLHS, where it says that lowercase components are upcased. Cheers, Martin -- Homepage: http://www.atzmueller.net/ Email: ma...@at... |