apple / swift-foundation

The Foundation project
Apache License 2.0
2.28k stars 135 forks source link

FoundationEssentials: adjust error code constants for Windows #671

Closed compnerd closed 3 weeks ago

compnerd commented 3 weeks ago

The Windows API calls return ERROR_TOO_MANY_OPEN_FILES (4) which is "The system cannot open the file.". One of the tests ensures that the return code is 260 which does not match reality.

compnerd commented 3 weeks ago

@swift-ci please test

compnerd commented 3 weeks ago

@swift-ci please test

compnerd commented 3 weeks ago

@swift-ci please test

compnerd commented 3 weeks ago

@swift-ci please test

compnerd commented 3 weeks ago

@jmschonfeld - anything else left for this? I have one more change after this for FileManager, and I think that we are nearly done!