On 2019-08-08 at 16:44:52, Christopher Ertl wrote: > So I'm proposing to remove the check for the drive letter being alpha in `has_dos_drive_prefix` macro: > > #define has_dos_drive_prefix(path) \ > ( (path)[1] == ':' ? 2 : 0) Is the drive character required to be ASCII? If it can be non-ASCII Unicode, then this doesn't work, because the drive character will be encoded in UTF-8 and will be longer than one character. An ABNF grammar of valid Windows path names would be helpful here. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Attachment:
signature.asc
Description: PGP signature