Handle ERROR_DIRECTORY from GetFileAttributes

GetFileAttributes() on Windows 11 24H2 will return ERROR_DIRECTORY instead of ERROR_INVALID_NAME when trying to get the attributes of a directory (pathname with a trailing slash) when a file with that name exists instead. Update classify_namestring() to handle this case.

Merge request reports

Loading