Skip to content

curl_setup_once: stop redefining ENAMETOOLONG to winsock2 error code - #16620

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:ENAMETOOLONG
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:ENAMETOOLONG

Conversation

@vszakats

@vszakats vszakats commented Mar 8, 2025 •

Copy link
Copy Markdown
Member

The only user is error display code following an mkdir() call. In this
case the redefinition didn't cause an issue, but was unnecessary.

Follow-up to d69425e #16615

Same case as fixed earlier for `EDQUOT`. It fixes an `mkdir()` error
to appear correctly on Windows.

Follow-up to d69425e  curl#16615
@vszakats vszakats added Windows Windows-specific tidy-up labels Mar 8, 2025
@vszakats vszakats closed this in 4bca9eb Mar 8, 2025
@vszakats
vszakats deleted the ENAMETOOLONG branch March 8, 2025 03:32
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
The only user is error display code following an `mkdir()` call. In this
case the redefinition didn't cause an issue, but was unnecessary.

Follow-up to d69425e curl#16615
Closes curl#16620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tidy-up Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

1 participant