aboutsummaryrefslogtreecommitdiff
path: root/lib/netrc.c
AgeCommit message (Collapse)Author
2009-04-14fix compiler warning: implicit conversion shortens 64-bit value into a ↵Yang Tse
32-bit value
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-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-09-12ANSI C compatibility adjustmentYang Tse
2008-08-01Made a parameter constDan Fandrich
2007-11-07if () => if()Daniel Stenberg
while () => while() and some other minor re-indentings
2007-04-25Steve Little's fixes to allow compilation on VMS 64-bit modeYang Tse
2007-02-26Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-filesGisle Vanem
since they're already included through "setup.h".
2005-05-02corrected copyright yearDaniel Stenberg
2005-04-25Fred New reported a bug where we used Basic auth and user name and password inDaniel Stenberg
.netrc, and when following a Location: the subsequent requests didn't properly use the auth as found in the netrc file. Added test case 257 to verify my fix.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-03-23curl_strequal() returns int, keep return variables in an intDaniel Stenberg
2004-02-19Doug Porter's patch that changes the order of preferences on how to find theDaniel Stenberg
default netrc file. We now read and uses HOME _before_ we use getpwuid() to better allow users to move around HOME to use different .netrc files without having to rely on even blacker magic.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-11-24windows build fix based on a patch by Gisle VanemDaniel Stenberg
2003-11-11Added CURLOPT_NETRC_FILE.Daniel Stenberg
2003-08-20removed the goto and re-indented slightlyDaniel Stenberg
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-05-21James Cone's efforts to add another netrc parsing "mode"Daniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-01-18#if [undefined] => #ifdef [undefined]Daniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-06Nico's VMS fixesDaniel Stenberg
2001-05-30include strtok.h to get the prototypeDaniel Stenberg
2001-05-29strtok() replaced with strtok_r()Daniel Stenberg
2001-03-16added memdebug.h includeDaniel Stenberg
2001-03-14hm, don't free the home dir and append the .netrc part properlyDaniel Stenberg
2001-03-14uses getpwuid() to find user's home dirDaniel Stenberg
2001-02-07no longer #includes "getenv.h"Daniel Stenberg
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-08-24#include "setup.h" moved first of all includesDaniel Stenberg
2000-06-20haxx.nu => haxx.seDaniel Stenberg
2000-05-29made getenv() more threadsafe for win32Daniel Stenberg
2000-05-22moved here from the newlib branchDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg