gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 73/116: cmake: Add missing setmode check


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 73/116: cmake: Add missing setmode check
Date: Tue, 05 Dec 2017 14:51:43 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 2e850dafa55f0510565c3dd802d6e2179fde65b0
Author: John Starks <address@hidden>
AuthorDate: Fri Nov 10 11:46:41 2017 -0800

    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.
    
    Closes https://github.com/curl/curl/pull/2067
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3aaeb346e..7b73b98f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -874,6 +874,7 @@ check_symbol_exists(ftruncate      "${CURL_INCLUDES}" 
HAVE_FTRUNCATE)
 check_symbol_exists(getprotobyname "${CURL_INCLUDES}" HAVE_GETPROTOBYNAME)
 check_symbol_exists(getrlimit      "${CURL_INCLUDES}" HAVE_GETRLIMIT)
 check_symbol_exists(setlocale      "${CURL_INCLUDES}" HAVE_SETLOCALE)
+check_symbol_exists(setmode        "${CURL_INCLUDES}" HAVE_SETMODE)
 check_symbol_exists(setrlimit      "${CURL_INCLUDES}" HAVE_SETRLIMIT)
 check_symbol_exists(fcntl          "${CURL_INCLUDES}" HAVE_FCNTL)
 check_symbol_exists(ioctl          "${CURL_INCLUDES}" HAVE_IOCTL)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]