aboutsummaryrefslogtreecommitdiffstats
path: root/env.c
Commit message (Collapse)AuthorAgeFilesLines
* 6.4.1, regression fix for default file locations.Matthias Andree2019-09-281-3/+31
| | | | | | | | The fix between 6.4.0-rc4 and 6.4.0 for Debian Bug#941129 caused a regression in the default file locations, some files were looked for without dot (.fetchmail.pid, .fetchmailrc). Reported by Cy Schubert.
* env.c: make FETCHMAILHOME (fmhome) absolute.Matthias Andree2019-09-271-1/+14
| | | | | | | | If FETCHMAILHOME is specified as relative path, then it can become the victim of a chdir("/") that happens in daemon mode, so that switching to daemon mode will change behaviour of FETCHMAILHOME. Reported by Alex Andreotti, Debian Bug #941129.
* Fix useless GCC8 warning, strncpy->memcpy for fixed string.Matthias Andree2018-04-141-1/+1
|
* Remove last traces of gethostbyname().Matthias Andree2017-04-221-1/+1
|
* Call endpwent().Matthias Andree2010-04-121-0/+2
|
* Fix lots of warnings, most around string literals...Matthias Andree2010-03-181-0/+2
| | | | | | | ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements.
* Make some explicit NULL checks to pacify llvm-clang's static analyzerMatthias Andree2010-02-281-1/+1
|
* Remove unused assignments/initializations found with llvm-clang.Matthias Andree2010-02-281-1/+1
|
* Fix spacing for consistency.Matthias Andree2009-06-141-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5356
* Fix a few compiler warnings around implicit conversion or extra ";".Matthias Andree2009-01-141-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5261
* * When HOME and FETCHMAILHOME are unset, be sure to copy user databaseMatthias Andree2006-12-191-1/+1
| | | | | | information, lest it be overwritten later. Patch by Jim Correia. svn path=/branches/BRANCH_6-3/; revision=5001
* Avoid crash in env.c/host_fqdn if we cannot canonicalize our own hostname.Matthias Andree2006-09-041-1/+1
| | | | | | Reported by Alexander Holler. svn path=/branches/BRANCH_6-3/; revision=4908
* Wrap getaddrinfo() and block SIGALRM where needed.Matthias Andree2006-08-141-2/+2
| | | | | | Also wrap freeaddrinfo() without added functionality. svn path=/branches/BRANCH_6-3/; revision=4895
* Revise comments before name canonicalization to make the code easier to ↵Matthias Andree2006-08-031-2/+4
| | | | | | | | understand. Suggested by Nico Golde. svn path=/branches/BRANCH_6-3/; revision=4877
* Fix more compiler warnings.Matthias Andree2006-03-141-0/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4736
* Fix Debian Bug#317761: when trying to send a bounce message, don't bailMatthias Andree2005-11-101-3/+2
| | | | | | | | out if we cannot qualify our own hostname, so we aren't losing the bounce. Instead, pass the buck on to the SMTP server and use our own unqualified hostname. svn path=/trunk/; revision=4399
* Add parameter to host_fqdn() to state if the domain name is required, i. e. Matthias Andree2005-10-301-2/+8
| | | | | | if fetchmail should exit if it cannot resolve (canonicalize) its own hostname. svn path=/trunk/; revision=4381
* Global variable cleanup, to fix daemon mode reinitialization problems.Matthias Andree2005-10-211-1/+1
| | | | | | Patch by Sunil Shetye. svn path=/trunk/; revision=4362
* Large protocol independence patch.Matthias Andree2005-08-281-14/+23
| | | | svn path=/trunk/; revision=4280
* strcpy -> strlcpy, strcat -> strlcatMatthias Andree2005-07-301-1/+1
| | | | svn path=/trunk/; revision=4186
* Revise visbuf to dynamically size its buffer.Matthias Andree2005-07-201-35/+24
| | | | svn path=/trunk/; revision=4147
* Replace sprintf.Matthias Andree2004-11-121-2/+5
| | | | svn path=/trunk/; revision=4004
* Misc. sprintf and pid_t fixes.Matthias Andree2004-11-101-1/+2
| | | | svn path=/trunk/; revision=4000
* Fix miscellaneous warnings.Matthias Andree2004-10-201-2/+0
| | | | svn path=/trunk/; revision=3953
* Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe.Matthias Andree2004-06-191-1/+1
| | | | svn path=/trunk/; revision=3903
* Fix various compiler warnings.Matthias Andree2004-06-181-1/+1
| | | | svn path=/trunk/; revision=3899
* Sunil Shetye's fix for SSL configuration.Eric S. Raymond2004-01-131-3/+2
| | | | svn path=/trunk/; revision=3875
* Cleanup.Eric S. Raymond2002-04-011-2/+2
| | | | svn path=/trunk/; revision=3605
* Minor fixes for 5.9.8.Eric S. Raymond2002-02-151-2/+1
| | | | svn path=/trunk/; revision=3578
* Fixes by Matthias Andree.Eric S. Raymond2002-02-011-0/+13
| | | | svn path=/trunk/; revision=3571
* Easy bug fixes for this round.Eric S. Raymond2001-11-081-5/+17
| | | | svn path=/trunk/; revision=3543
* _( -> GT_(Eric S. Raymond2001-09-241-3/+3
| | | | svn path=/trunk/; revision=3478
* Before tckling the license problem.Eric S. Raymond2001-09-181-1/+1
| | | | svn path=/trunk/; revision=3462
* HMH's trivial fixes.Eric S. Raymond2001-07-251-3/+7
| | | | svn path=/trunk/; revision=3420
* Corrected patch.Eric S. Raymond2001-03-141-0/+8
| | | | svn path=/trunk/; revision=3258
* Yoshihiko SARUMARU's patch,Eric S. Raymond2001-03-141-1/+5
| | | | svn path=/trunk/; revision=3257
* Show IMAP in the protocols.Eric S. Raymond2001-02-191-0/+3
| | | | svn path=/trunk/; revision=3126
* Proper conditionalization.Eric S. Raymond2001-02-141-4/+4
| | | | svn path=/trunk/; revision=3092
* Let's get rid of the old protocols with preauthentication bundled in.Eric S. Raymond2001-02-111-3/+0
| | | | svn path=/trunk/; revision=3071
* First cut at ODMR support.Eric S. Raymond2001-02-071-0/+3
| | | | svn path=/trunk/; revision=3028
* FETCHMAILUSER implemented.Eric S. Raymond2000-07-231-12/+6
| | | | svn path=/trunk/; revision=2933
* Minor bug fixes.Eric S. Raymond2000-04-211-1/+1
| | | | svn path=/trunk/; revision=2881
* Fix brown-paper-bag bug.Eric S. Raymond2000-04-161-6/+7
| | | | svn path=/trunk/; revision=2879
* FETCHMAILHOMEEric S. Raymond2000-04-161-4/+17
| | | | svn path=/trunk/; revision=2875
* BeOS support.Eric S. Raymond2000-04-081-0/+3
| | | | svn path=/trunk/; revision=2866
* Minor optimizations from Federico.Eric S. Raymond1999-12-261-1/+1
| | | | svn path=/trunk/; revision=2689
* Handle literal backslashes properly.Eric S. Raymond1999-12-231-0/+5
| | | | svn path=/trunk/; revision=2677
* Fix a logfile dump bug.Eric S. Raymond1999-09-271-0/+2
| | | | svn path=/trunk/; revision=2614
* Changes from the road.Eric S. Raymond1999-08-171-1/+0
| | | | svn path=/trunk/; revision=2540
* Improved environment-query logic.Eric S. Raymond1999-04-251-17/+40
| | | | svn path=/trunk/; revision=2452