aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-10-23moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_Daniel Stenberg
inclusion by the curl tool without colliding with the curl_strequal functions.
2008-10-19Fixed potential memory leak in OOM situations. Detected by coverity.comDaniel Stenberg
2008-10-19dumpeasycode() uses warnf() which uses config->errors so we must not closeDaniel Stenberg
that before dumpeasycode() is called. Found by coverity.com
2008-10-19Removed dead code, identified by coverity.com.Daniel Stenberg
2008-10-17After having studied one of the coverity.com reports at length last night, IDaniel Stenberg
decided it was a good idea to properly document my thoughts in a comment near the code that was identified as a possible flaw. A false positive as far as I can see.
2008-10-16compile the library file strequal.c to get the Curl_raw_equal function asDaniel Stenberg
that's not exported by the lib
2008-10-16Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper functionDaniel Stenberg
used in strequal.c so now all test cases run fine for me again.
2008-10-15- Pascal Terjan filed bug #2154627Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected.
2008-10-14eeek, append 1 on the right place as otherwise we didn't fix the problemDaniel Stenberg
2008-10-13Prevent the accidental passing along NULL for the cases where the --traceDaniel Stenberg
options don't succeed in opening the target file etc. Detected by coverity.com
2008-10-13Prevent an off-by-one in a allocated buffer in glob_match_url() - detected byDaniel Stenberg
coverity.com
2008-10-09Update docs now that SFTP supports file ranges.Dan Fandrich
2008-09-30remove unnecessary typecast, otherwise triggering compiler warning:Yang Tse
dereferencing type-punned pointer will break strict-aliasing rules
2008-09-24HAVE_INET_PTON will only be defined when an IPv6 capable workingYang Tse
inet_pton function is available.
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse
2008-09-17Removed reference to curl-ca-bundle.crt in the host verification failureDan Fandrich
error message.
2008-09-16NetWare seems to have writev()Yang Tse
2008-09-16NetWare CLIB target has stricmp() and strnicmp()Yang Tse
2008-09-15HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32Yang Tse
2008-09-13fix compiler warning: external declaration in primary source fileYang Tse
2008-09-12ANSI C compatibility adjustmentYang Tse
2008-09-10Checked in some code improvements and minor fixes that I discovered in theDan Fandrich
FreeBSD ports system.
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of calloc()Yang Tse
2008-09-05- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renamesDaniel Stenberg
CURLOPT_POST301 (but adds a define for backwards compatibility for you who don't define CURL_NO_OLDIES). This option allows you to now also change the libcurl behavior for a HTTP response 302 after a POST to not use GET in the subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the patch somewhat before commit. The curl tool got a matching --post302 option. Test case 1076 was added to verify this.
2008-09-05somewhat protect Mac OS X users from using Mac OS 9 config fileYang Tse
2008-09-04fixed largefile feature for MingW32 non-configure builds.Gunter Knauf
2008-09-04enabled largefile feature for LIBC builds.Gunter Knauf
2008-09-04fix print formatting string directivesYang Tse
2008-09-04remove duplicate va_start() callYang Tse
2008-09-02in the --libcurl output, mention that the large file stuff is only needed forDaniel Stenberg
pre 7.19.0 libcurl-using apps
2008-08-29Project and workspace files for VC6 IDE supporting 4 configurations:Yang Tse
curl - Win32 using libcurl DLL Debug curl - Win32 using libcurl DLL Release curl - Win32 using libcurl LIB Debug curl - Win32 using libcurl LIB Release
2008-08-28When not using large file support WIN32's lseek offset is a 'long'.Yang Tse
2008-08-26Fix default SIZEOF_OFF_T definition logicYang Tse
2008-08-26Use SIZEOF_OFF_T definition from config fileYang Tse
2008-08-22Fixed a problem when --dump-header - was given with more than one URL,Dan Fandrich
which caused an error when the second header was dumped due to stdout being closed. Added test case 1066 to verify. Also fixed a potential problem where a closed file descriptor might be used for an upload when more than one URL is given.
2008-08-22Reinstate struct_stat definition that got lost in previous commit.Yang Tse
2008-08-22Adjustments to better select/differentiate when large/small fileYang Tse
support is provided using WIN32 functions directly.
2008-08-21Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse
Improve HAVE_LONGLONG symbol description.
2008-08-17OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectoryYang Tse
when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'.
2008-08-16Fix Use of conditional definition of USE_OPENSSLYang Tse
2008-08-14Use our CURL_LLONG_MAX and CURL_LLONG_MIN which are defined with the proper ↵Yang Tse
suffix.
2008-08-13Sync config.h generation from lib/Makefile.netware and src/Makefile.netwareYang Tse
2008-08-13The size of long is a build time characteristic and as such it is now recordedYang Tse
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
2008-08-13Split comparison among several lines for debuggingYang Tse
2008-08-13Update dependencies.Gisle Vanem
2008-08-13Adjustment due to curl_off_t no longer following off_tYang Tse
2008-08-12sync src makefile with lib makefile.Gunter Knauf
2008-08-11 s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/gYang Tse
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.