diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-11-19 18:45:06 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-11-19 18:45:06 +0000 |
commit | 4cf7de8173924ba038373c375f394c904d4173ae (patch) | |
tree | dff43b1fb2e5f1c0e364ff8dad46bdf15dc13f9d /lock.h | |
parent | eed0da9232f67df0e8f3b80133ca4319cd4886ab (diff) | |
download | fetchmail-4cf7de8173924ba038373c375f394c904d4173ae.tar.gz fetchmail-4cf7de8173924ba038373c375f394c904d4173ae.tar.bz2 fetchmail-4cf7de8173924ba038373c375f394c904d4173ae.zip |
Support lockfiles in non-writable directories.
svn path=/branches/BRANCH_6-3/; revision=4946
Diffstat (limited to 'lock.h')
-rw-r--r-- | lock.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,7 +22,8 @@ void fm_lock_release(void); /** Check the state of the lock file. If there is an error opening or * reading the lockfile, exit with PS_EXCLUDE. If a stale lock file - * cannot be unlinked, complain, but continue. \return + * cannot be unlinked, complain and try to truncate it to 0 size. If + * truncation fails, complain and exit with PS_EXCLUDE. \return * - 0 if no lock is set * - >0 if a fetchmail is running, but not in daemon mode * - <0 if a fetchmail is running in daemon mode. |