aboutsummaryrefslogtreecommitdiffstats
path: root/lock.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix argument order in 'cannot write to lockfile' message.Matthias Andree2020-10-141-1/+1
| | | | Reported by Petr Pisar, found while updating the Czech translation.
* Fixup missing argument in lock.c error message.Matthias Andree2020-10-141-1/+1
|
* Remove word 'either' that only makes sense in verbose mode.Matthias Andree2020-10-141-1/+1
|
* pidfile/lockfile handling bugfixesMatthias Andree2020-10-131-10/+21
| | | | | | | | | | | pidfile/locking: log errors thru syslog, too This works by replacing perror()/fprintf(stderr, ...) by report() and strerror(). If the pidfile cannot be unlinked, truncate it. Bump release version to 6.4.13.rc1, and move KNOWN BUGS section up in NEWS.
* 6.4.1, regression fix for default file locations.Matthias Andree2019-09-281-1/+1
| | | | | | | | 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.
* Align with legacy_6x.Matthias Andree2019-08-251-1/+1
| | | | | | * Normalize include order. * Backport missed bug fixes. * Remove dead code.
* Properly use long to map pid_t.Matthias Andree2010-04-291-2/+3
|
* Support lockfiles in non-writable directories.Matthias Andree2006-11-191-1/+16
| | | | svn path=/branches/BRANCH_6-3/; revision=4946
* Add Doxygen comments to complement lock.h documentation.Matthias Andree2006-07-041-5/+5
| | | | svn path=/branches/BRANCH_6-3/; revision=4863
* If the lockfile ends before the process ID, treat it as stale and unlink it.Matthias Andree2006-07-041-4/+5
| | | | | | Reported by Justin Pryzby, Debian Bug #376603. svn path=/branches/BRANCH_6-3/; revision=4862
* Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes Matthias Andree2006-05-121-5/+5
| | | | | | NetBSD portable packages collection patch-ah, patch-ai and patch-aj. svn path=/branches/BRANCH_6-3/; revision=4826
* Add pidfile option, requested by Héctor García.Matthias Andree2006-04-021-8/+17
| | | | svn path=/branches/BRANCH_6-3/; revision=4770
* merge Mirek's fetchmail-signed.patchMatthias Andree2006-03-141-2/+8
| | | | svn path=/branches/BRANCH_6-3/; revision=4734
* Only report 'removing stale lockfile' if it was actually removed.Matthias Andree2005-10-301-3/+7
| | | | svn path=/trunk/; revision=4376
* Detect error if lock file cannot be created.Matthias Andree2005-10-301-0/+2
| | | | svn path=/trunk/; revision=4375
* Exit with error if the lock file cannot be read.Matthias Andree2005-10-301-2/+6
| | | | svn path=/trunk/; revision=4374
* Bury on_exit() officially - hasn't worked since 6.0.0 or even longer.Matthias Andree2005-10-301-7/+0
| | | | svn path=/trunk/; revision=4373
* Rename lock_release to fm_lock_release, to avoid namespace collision onMatthias Andree2005-07-231-1/+1
| | | | | | Darwin. NetBSD PR#28543 (pkg/28543). svn path=/trunk/; revision=4176
* Fix Debian bug #230615, making PID file format FHS 2.3 compliant.Matthias Andree2005-07-231-30/+39
| | | | | | Add more error checking to writing/reading PID file. svn path=/trunk/; revision=4167
* Misc. sprintf and pid_t fixes.Matthias Andree2004-11-101-4/+6
| | | | svn path=/trunk/; revision=4000
* More minor fixes.Eric S. Raymond2003-08-131-1/+1
| | | | svn path=/trunk/; revision=3834
* Cygwin port fix.Eric S. Raymond2002-09-041-1/+1
| | | | svn path=/trunk/; revision=3692
* _( -> GT_(Eric S. Raymond2001-09-241-2/+2
| | | | svn path=/trunk/; revision=3478
* HMH's trivial fixes.Eric S. Raymond2001-07-251-1/+1
| | | | svn path=/trunk/; revision=3420
* strncat/snprintf cleanup.Eric S. Raymond2001-06-231-0/+1
| | | | svn path=/trunk/; revision=3366
* SA_RESTART and portability fixes.Eric S. Raymond2001-05-121-0/+3
| | | | svn path=/trunk/; revision=3301
* This refactored version works.Eric S. Raymond2001-03-111-2/+2
| | | | svn path=/trunk/; revision=3228
* After refactoring.Eric S. Raymond2001-03-101-0/+130
| | | | svn path=/trunk/; revision=3227
* Initial revisionEric S. Raymond2001-03-101-0/+0
svn path=/trunk/; revision=3226