cmake: Add missing setmode check #2067

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@jstarks
Contributor

jstarks commented Nov 10, 2017

Ensure HAVE_SETMODE is set to 1 on OSes that have setmode. Without this,
curl will corrupt binary files when writing them to stdout on Windows.

John Starks
cmake: Add missing setmode check
Ensure HAVE_SETMODE is set to 1 on OSes that have setmode. Without this,
curl will corrupt binary files when writing them to stdout on Windows.
@jay

This comment has been minimized.

Show comment
Hide comment
@jay

jay Nov 10, 2017

Member

Thanks

Member

jay commented Nov 10, 2017

Thanks

@jay jay added the cmake label Nov 10, 2017

@jay jay closed this in 2e850da Nov 10, 2017

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.