[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 12/150: configure: fix the check for unsigned time_
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 12/150: configure: fix the check for unsigned time_t |
Date: |
Fri, 30 Mar 2018 16:47:46 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 9a230ba419eb3bd74c82dd7560cbb09b4b027b8a
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Jan 25 22:32:57 2018 +0100
configure: fix the check for unsigned time_t
Assign the time_t variable negative value and then check if it is
greater than zero, which will evaluate true for unsigned time_t but
false for signed time_t.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 76fa93d1b..d305e9693 100755
--- a/configure.ac
+++ b/configure.ac
@@ -3488,7 +3488,7 @@ AC_RUN_IFELSE([
AC_LANG_SOURCE([[
#include <time.h>
#include <limits.h>
- time_t t = ULONG_MAX;
+ time_t t = -1;
return (t > 0);
]])] ,[
AC_MSG_RESULT([yes])
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] branch master updated (b7ee06519 -> 4bdd2f26c), gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 06/150: cookies: remove verbose "cookie size:" output, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 01/150: Fix small typo., gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 09/150: SChannel/WinSSL: Replace Curl_none_md5sum with Curl_schannel_md5sum, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 04/150: TODO: CURL_REFUSE_CLEARTEXT, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 03/150: progress-bar: don't use stderr explicitly, use bar->out, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 02/150: Fixes for MSDOS etc., gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 05/150: TODO: hardcode the "localhost" addresses, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 08/150: SChannel/WinSSL: Implement public key pinning, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 12/150: configure: fix the check for unsigned time_t,
gnunet <=
- [GNUnet-SVN] [gnurl] 15/150: lib544: sync ascii code data with textual data, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 27/150: curl_easy_reset: clear digest auth state, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 13/150: darwinssl: Don't import client certificates into Keychain on macOS, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 14/150: GSKit: restore pinnedpubkey functionality, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 07/150: bump: towards 7.58.1, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 16/150: lib517: make variable static to avoid compiler warning, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 17/150: lib555: drop text conversion and encode data as ascii codes, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 29/150: curl/curl.h: fix comment typo for CURLOPT_DNS_LOCAL_IP6, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 10/150: openssl: fix pinned public key build error in FIPS mode, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 38/150: fnmatch: do not match the empty string with a character set, gnunet, 2018/03/30