[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 163/205: test1541: ignore the curl_off_t variable t
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 163/205: test1541: ignore the curl_off_t variable type name comparison |
Date: |
Thu, 20 Apr 2017 16:21:43 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit 8761a40fd95a8016f6c1d83516b86a1110ae118b
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Apr 5 15:12:55 2017 +0200
test1541: ignore the curl_off_t variable type name comparison
... the sizes and the formatting strings are what's really important and
avoids problems with int64_t vs "long long".
Bug: https://curl.haxx.se/mail/lib-2017-04/0019.html
---
tests/libtest/lib1541.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/libtest/lib1541.c b/tests/libtest/lib1541.c
index ef993dd66..695d35842 100644
--- a/tests/libtest/lib1541.c
+++ b/tests/libtest/lib1541.c
@@ -47,7 +47,9 @@ int test(char *URL)
socket_h = "Yes";
#endif
snprintf(detect, sizeof(detect),
+#ifdef CHECK_CURL_OFF_T
"CURL_TYPEOF_CURL_OFF_T: %s\n"
+#endif
"CURL_FORMAT_CURL_OFF_T: %s\n"
"CURL_FORMAT_CURL_OFF_TU: %s\n"
"CURL_SUFFIX_CURL_OFF_T: %s\n"
@@ -58,7 +60,9 @@ int test(char *URL)
"CURL_PULL_SYS_TYPES_H: %s\n"
"CURL_PULL_SYS_SOCKET_H: %s\n"
+#ifdef CHECK_CURL_OFF_T
, STRING(CURL_TYPEOF_CURL_OFF_T)
+#endif
, CURL_FORMAT_CURL_OFF_T
, CURL_FORMAT_CURL_OFF_TU
, STRING(CURL_SUFFIX_CURL_OFF_T)
@@ -76,7 +80,9 @@ int test(char *URL)
ssocket_h = "Yes";
#endif
snprintf(syst, sizeof(syst),
+#ifdef CHECK_CURL_OFF_T
"CURL_TYPEOF_CURL_OFF_T: %s\n"
+#endif
"CURL_FORMAT_CURL_OFF_T: %s\n"
"CURL_FORMAT_CURL_OFF_TU: %s\n"
"CURL_SUFFIX_CURL_OFF_T: %s\n"
@@ -87,7 +93,9 @@ int test(char *URL)
"CURL_PULL_SYS_TYPES_H: %s\n"
"CURL_PULL_SYS_SOCKET_H: %s\n"
+#ifdef CHECK_CURL_OFF_T
, STRING(CURLSYS_TYPEOF_CURL_OFF_T)
+#endif
, CURLSYS_FORMAT_CURL_OFF_T
, CURLSYS_FORMAT_CURL_OFF_TU
, STRING(CURLSYS_SUFFIX_CURL_OFF_T)
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 198/205: openssl: make SSL_ERROR_to_str more future-proof, (continued)
- [GNUnet-SVN] [gnurl] 198/205: openssl: make SSL_ERROR_to_str more future-proof, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 178/205: libcurl-thread.3: also mention threaded-resolver, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 145/205: docs: added examples for CURLINFO_FILETIME.3 and CURLOPT_FILETIME.3, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 156/205: tool: fix Windows Unicode build, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 59/205: openssl: add two /* FALLTHROUGH */ to satisfy coverity, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 99/205: mbedtls: add support for CURLOPT_SSL_CTX_FUNCTION, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 203/205: RELEASE-NOTES: curl 7.54.0, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 112/205: spelling fixes, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 93/205: RELEASE-NOTES: synced with 6e0f26c8a8c28df, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 111/205: curl: check for end of input in writeout backslash handling, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 163/205: test1541: ignore the curl_off_t variable type name comparison,
gnunet <=
- [GNUnet-SVN] [gnurl] 107/205: openssl: made the error table static const, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 151/205: llist: replace Curl_llist_alloc with Curl_llist_init, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 164/205: INSTALL.cmake: more problems, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 133/205: gcc7: fix ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context], gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 148/205: include: curl/system.h is a run-time version of curlbuild.h, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 160/205: tool_operate: move filetime code to its own function, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 170/205: sspi: print out InitializeSecurityContext() error message, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 180/205: RELEASE-NOTES: synced with f9d1e9a27f7e1, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 162/205: Revert "configure: prefer 'long long' to int64_t for curl_off_t", gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 166/205: system.h: set sizeof long to 4 on "default 32 bit" systems, gnunet, 2017/04/20