Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ | Daniel Stenberg | 2008-10-23 | 1 | -101/+0 |
| | | | | inclusion by the curl tool without colliding with the curl_strequal functions. | ||||
* | Created Curl_raw_nequal() which does a C-locale string case comparison. | Dan Fandrich | 2008-10-23 | 1 | -0/+16 |
| | | | | | | | Changed checkprefix() to use it and those instances of strnequal() that compare host names or other protocol strings that are defined to be independent of case in the C locale. This should fix a few more Turkish locale problems. | ||||
* | Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function | Daniel Stenberg | 2008-10-16 | 1 | -8/+9 |
| | | | | used in strequal.c so now all test cases run fine for me again. | ||||
* | Curl_ascii_equal() must not assume that the string is actually ASCII (so ↵ | Daniel Stenberg | 2008-10-16 | 1 | -3/+63 |
| | | | | | | | | | that a-z are consecutive and with a 0x20 "distance" to the uppercase letter), since we do support EBCDIC as well. Thus I replaced the macro with a (larger) switch case. I better change the function name... | ||||
* | - Pascal Terjan filed bug #2154627 | Daniel Stenberg | 2008-10-15 | 1 | -0/+24 |
| | | | | | | | | | | | (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. | ||||
* | remove Curl_strcasestr() since there is no code at all using this function! | Daniel Stenberg | 2008-10-15 | 1 | -23/+0 |
| | |||||
* | improve detection of: | Yang Tse | 2008-09-15 | 1 | -15/+4 |
| | | | | | | | | | | | strcasecmp() strcasestr() strcmpi() stricmp() strlcat() strncasecmp() strncmpi() strnicmp() | ||||
* | if () => if() | Daniel Stenberg | 2007-11-07 | 1 | -8/+8 |
| | | | | | while () => while() and some other minor re-indentings | ||||
* | Make glibc define the prototype for strcasestr | Dan Fandrich | 2007-09-25 | 1 | -0/+5 |
| | |||||
* | Use a native strcasestr() if found. | Dan Fandrich | 2007-09-25 | 1 | -0/+4 |
| | |||||
* | Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly | Daniel Stenberg | 2007-04-01 | 1 | -1/+5 |
| | | | | | | by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non- configure platforms that havve setmode() needs their hard-coded config.h files fixed. I fixed the src/config-win32.h. | ||||
* | Update copyright year, since the file has been modified | Yang Tse | 2006-10-27 | 1 | -1/+1 |
| | |||||
* | Only define the string prototypes in ANSI mode to reduce interference on | Dan Fandrich | 2006-08-09 | 1 | -1/+1 |
| | | | | systems that prototype them slightly differently. | ||||
* | removed tabs and trailing whitespace from source | Daniel Stenberg | 2004-10-06 | 1 | -1/+1 |
| | |||||
* | added Curl_strcasestr() for case insensitive strstr() searching | Daniel Stenberg | 2004-06-13 | 1 | -6/+25 |
| | |||||
* | Dan Fandrich's cleanup patch to make pedantic compiler options cause less | Daniel Stenberg | 2004-01-29 | 1 | -0/+2 |
| | | | | warnings. Minor edits by me. | ||||
* | updated year in the copyright string | Daniel Stenberg | 2004-01-07 | 1 | -1/+1 |
| | |||||
* | added the strcasecmp() proto here (moved from setup.h), as this is the | Daniel Stenberg | 2003-08-24 | 1 | -0/+6 |
| | | | | only file within libcurl to use that function | ||||
* | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | 2003-01-29 | 1 | -8/+0 |
| | | | | way for emacs, and vim users should provide a similar non-polluting style | ||||
* | copyright year update in the source header | Daniel Stenberg | 2003-01-16 | 1 | -1/+1 |
| | |||||
* | updated source code boilerplate/header | Daniel Stenberg | 2002-09-03 | 1 | -7/+7 |
| | |||||
* | copyright string (year) update | Daniel Stenberg | 2002-03-19 | 1 | -1/+1 |
| | |||||
* | Eric nailed a but in strnequal() for macintosh | Daniel Stenberg | 2001-12-03 | 1 | -0/+3 |
| | |||||
* | Eric Lavigne updates | Daniel Stenberg | 2001-11-27 | 1 | -0/+1 |
| | |||||
* | looks nicer and is better compatible with older vim versions | Sterling Hughes | 2001-10-11 | 1 | -2/+2 |
| | |||||
* | Added formatting sections for emacs and vim | Sterling Hughes | 2001-09-07 | 1 | -0/+8 |
| | |||||
* | cleanups | Daniel Stenberg | 2001-08-24 | 1 | -3/+3 |
| | |||||
* | strlcat() is now Curl_strlcat() instead to prevent collisions when used with | Daniel Stenberg | 2001-05-18 | 1 | -1/+1 |
| | | | | other libs | ||||
* | The Curl_* prefixes are now changed for curl_* ones, as these two functions | Daniel Stenberg | 2001-03-14 | 1 | -2/+2 |
| | | | | are used externally and thus are public symbols. | ||||
* | silly me, corrected the strlcat() to compile | Daniel Stenberg | 2001-02-06 | 1 | -1/+1 |
| | |||||
* | new openbsd inspired implementation of strlcat() | Daniel Stenberg | 2001-02-06 | 1 | -8/+23 |
| | |||||
* | adjusted the IPv6 stuff to compile and build on Linux as well | Daniel Stenberg | 2001-02-05 | 1 | -0/+26 |
| | |||||
* | Internal symbols that aren't static are now prefixed with 'Curl_' | Daniel Stenberg | 2001-01-05 | 1 | -2/+2 |
| | |||||
* | dual-license fix | Daniel Stenberg | 2001-01-03 | 1 | -28/+11 |
| | |||||
* | #include "setup.h" moved first of all includes | Daniel Stenberg | 2000-08-24 | 1 | -2/+2 |
| | |||||
* | haxx.nu => haxx.se | Daniel Stenberg | 2000-06-20 | 1 | -2/+2 |
| | |||||
* | Added #include <string.h> | Daniel Stenberg | 2000-06-14 | 1 | -0/+2 |
| | |||||
* | bad HAVE_STRICMP usage found by Björn Stenberg | Daniel Stenberg | 2000-06-14 | 1 | -1/+1 |
| | |||||
* | files moved to main branch from the newlib branch | Daniel Stenberg | 2000-05-22 | 1 | -0/+83 |