You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BuildCapabilityMap function in the UwpList project fails to parse the caps.txt file.
The .gitattributes file for this repository specifies "text=auto" and Github defaults to LF (\n) line endings for text files - this causes the BuildCapabilityMap function to fail parsing the caps.txt file since the line endings were changed from CRLF (\r\n) to LF (\n) when the code was committed.
You will need to change the BuildCapabilityMap function, line 150 from:
auto cr = ::strstr(caps, "\r\n");
To:
auto cr = ::strstr(caps, "\n");
And line 168 from:
caps = cr + 2;
To:
caps = cr + 1;
Otherwise anyone downloading the UwpList project won't be able to use it properly.
Since these are all Windows based tools and files, I highly suggest changing the .gitattributes file to use "text=crlf" and just re-commit the code to save time and prevent future issues.
The text was updated successfully, but these errors were encountered:
Hello,
The BuildCapabilityMap function in the UwpList project fails to parse the caps.txt file.
The .gitattributes file for this repository specifies "text=auto" and Github defaults to LF (\n) line endings for text files - this causes the BuildCapabilityMap function to fail parsing the caps.txt file since the line endings were changed from CRLF (\r\n) to LF (\n) when the code was committed.
You will need to change the BuildCapabilityMap function, line 150 from:
auto cr = ::strstr(caps, "\r\n");
To:
auto cr = ::strstr(caps, "\n");
And line 168 from:
caps = cr + 2;
To:
caps = cr + 1;
Otherwise anyone downloading the UwpList project won't be able to use it properly.
Since these are all Windows based tools and files, I highly suggest changing the .gitattributes file to use "text=crlf" and just re-commit the code to save time and prevent future issues.
The text was updated successfully, but these errors were encountered: