- May 08, 2017
-
-
Marcel Raad authored
alarm's argument is unsigned.
-
Marcel Raad authored
long is 32 bits while size_t is 64 bits on MinGW-w64, so typecheck-gcc.h complains when using size_t for a long option. Also, curl_socket_t is unsigned long long rather than int.
-
Daniel Stenberg authored
... to also make it update when we remove files, like we did for --environment in commit a8e388dd.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Marcel Raad authored
Avoids narrowing conversion warnings because rlim_t is usually unsigned long. Closes https://github.com/curl/curl/pull/1469
-
- May 07, 2017
-
-
Marcel Raad authored
The first argument to select is an int, while curl_socket_t is unsigned long long when using WinSock. It's ignored anyway [1]. [1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141.aspx
-
Marcel Raad authored
Don't convert string literal to char * before assigning it to const char *.
-
Marcel Raad authored
Don't do anything in this file if CURLRES_THREADED is not defined.
-
Marcel Raad authored
The cases this warns about are handled elsewhere, so just use an intermediate variable to silence the warning.
-
- May 06, 2017
-
-
Rainer Canavan authored
Apparently, /usr/bin/m4 ignores the --version parameter and waits for input from stdin. Fixes #1471
-
Daniel Stenberg authored
...to render properly nroff.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... and USE_ENVIRONMENT and --environment. It was once added for RISC OS support and its platform specific behavior has been annoying ever since. Added in commit c3c8bbd3, mostly unchanged since then. Most probably not actually used for years. Closes #1463
-
Dan Fandrich authored
Also, document that numbered datacheck sections are possible.
-
- May 05, 2017
-
-
Marcel Raad authored
Avoid casting string literals to non-const char *.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Marcel Raad authored
calloc and ai_addrlen expect different (usually unsigned) types.
-
Daniel Stenberg authored
Suggested-by: Dan Fandrich
-
- May 04, 2017
-
-
Daniel Stenberg authored
... instead of numerical order. Closes #1466
-
Dan Fandrich authored
-
Marcel Raad authored
assign string literals to const char * instead of char * in order to avoid a lot of these warnings: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
-
Dan Fandrich authored
-
Dan Fandrich authored
Windows does not allow setting the locale with environment variables (as the test attempted to do), so the test failed when run with a user locale that has a comma as radixchar. Changed the test to call setlocale() explicitly to ensure that a known working locale is set even on Windows.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Marcel Raad authored
SEND_QUAL_ARG2 had to be set, but was never used. Use it in swrite to avoid warnings about casting away low-level const. Closes https://github.com/curl/curl/pull/1464
-
- May 03, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Marcel Raad authored
Fix the following warnings when building the tests by using the correct types: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] implicit conversion changes signedness [-Wsign-conversion]
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/1452
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/1452
-
Daniel Stenberg authored
-
- May 02, 2017
-
-
Daniel Stenberg authored
-
Richard Hsu authored
Previous TODO wanting to write in chunks. We should support writing more at once since some TELNET servers may respond immediately upon first byte written such as WHOIS servers. Closes #1389
-
Daniel Stenberg authored
... and instead properly respond with an error message to the user instead of silently ignoring. Fixes #1453 Closes #1458
-
Marcel Raad authored
Support for _MPRINTF_REPLACE in mprintf.h was removed in 55452ebd, replaced with curl_printf.h.
-