[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 49/163: cmake: fixed comments in compile checks cod
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 49/163: cmake: fixed comments in compile checks code |
Date: |
Sun, 05 Aug 2018 12:36:15 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 954284f9192ccc9719e39970f39c7ac2d9090511
Author: Sergei Nikulov <address@hidden>
AuthorDate: Mon May 28 09:01:48 2018 +0300
cmake: fixed comments in compile checks code
---
CMake/CurlTests.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c
index ac959f340..ab244ac39 100644
--- a/CMake/CurlTests.c
+++ b/CMake/CurlTests.c
@@ -513,7 +513,7 @@ void check(char c) {}
int
main () {
char buffer[1024];
- // This will not compile if strerror_r does not return a char*
+ /* This will not compile if strerror_r does not return a char* */
check(strerror_r(EACCES, buffer, sizeof(buffer))[0]);
return 0;
}
@@ -522,13 +522,13 @@ main () {
#include <string.h>
#include <errno.h>
-// float, because a pointer can't be implicitly cast to float
+/* float, because a pointer can't be implicitly cast to float */
void check(float f) {}
int
main () {
char buffer[1024];
- // This will not compile if strerror_r does not return an int
+ /* This will not compile if strerror_r does not return an int */
check(strerror_r(EACCES, buffer, sizeof(buffer)));
return 0;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 26/163: http resume: skip body if http code 416 (range error) is ignored., (continued)
- [GNUnet-SVN] [gnurl] 26/163: http resume: skip body if http code 416 (range error) is ignored., gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 29/163: TODO: CURLINFO_PAUSE_STATE, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 59/163: tests: update .gitignore for libtests, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 72/163: cmdline-opts/cert-type.d: mention "p12" as a recognized type as well, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 75/163: tests/libtests/Makefile.am: Add lib1521.c to CLEANFILES, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 46/163: fnmatch: insist on escaped bracket to match, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 63/163: os400: add new option in ILE/RPG binding, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 62/163: tests/libtest/.gitignore: follow-up fix to ignore lib5* too, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 43/163: RELEASE-NOTES: synced, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 48/163: INSTALL: LDFLAGS=-Wl, -R/usr/local/ssl/lib, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 49/163: cmake: fixed comments in compile checks code,
gnunet <=
- [GNUnet-SVN] [gnurl] 69/163: axTLS: not considered fit for use, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 56/163: libcurl-security.3: improved layout for two rememdy lists, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 66/163: multi: remove a DEBUGF(), gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 78/163: RELEASE-PROCEDURE: update the release calendar for 2019, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 74/163: tests/libtest: Add lib1521 to nodist_SOURCES, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 79/163: RELEASE-NOTES: synced, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 54/163: curl.rc: embed manifest for correct Windows version detection, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 51/163: setopt: add TLS 1.3 ciphersuites, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 30/163: httpauth: add support for Bearer tokens, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 55/163: libcurl-security.3: refer to URL instead of in-source markdown file, gnunet, 2018/08/05