Bruno Haible <[EMAIL PROTECTED]> writes:

>> An alternative to editing c-ctype is naming the dirname.h version
>> IS_DRIVE_LETTER instead of c_isalpha.
>
> Yes, this is much better. Also it reflects more closely what the macro is
> used for.

I also agree; sorry, I should have said it that way originally.

However: what happens in DOS if you use a file name like "@:/a/b/c"?
Is this parsed as an invalid file letter, and then rejected, or as a
file name that's much like "@_/a/b/c" but just happens to have an
colon rather than an underscore?  If the former, then surely dirname
should not bother to check whether the first character is a letter.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to