aboutsummaryrefslogtreecommitdiffstats
path: root/common/dotlock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert last change, add comment about link() return values.Marcus Brinkmann2012-01-031-21/+11
| | | | | * common/dotlock.c (use_hardlinks_p, dotlock_take_unix): Do not check return value of link().
* Fix compiler warnings.Marcus Brinkmann2012-01-031-9/+21
| | | | | | | * common/dotlock.c (use_hardlinks_p, dotlock_take_unix): Check return value of link(). * g13/g13.c: Make sure err is initialized. * scd/scdaemon.c (main) [!USE_GCRY_THREAD_CBS]: Do not define ERR.
* Allow distribution of dotlock.* also under a modified BSD licenseWerner Koch2011-10-241-0/+36
|
* Change JNLIB license to LGPLv3+ or GPLv2+.Werner Koch2011-09-301-6/+17
| | | | This is to allow the use of this code with code under GPLv2(only).
* Add prefix macro for dotlock functions.Werner Koch2011-09-301-8/+13
| | | | Also fixed a type in the GLIB version.
* Add dotlock_get_fd and dotlock_set_fd.Werner Koch2011-09-291-2/+34
|
* Make dotlock.c thread-safe on pthread systems.Werner Koch2011-09-291-25/+74
| | | | This is achieved by passing the define DOTLOCK_USE_PTHREAD.
* Add a flag parameter to dotlock_create.Werner Koch2011-09-281-7/+18
| | | | This allows us to extend this function in the future.
* Allow arbitrary timeouts with dotlock.Werner Koch2011-09-281-37/+82
|
* Improved the dotlock module.Werner Koch2011-09-271-41/+372
| | | | | | | - It is now more portable and may be used outside of GnuPG - vfat file systems are now supported. - The use of link(2) is more robust. - Wrote extensive documentation.
* Renamed the lock functions.Werner Koch2011-09-231-311/+419
| | | | Also cleaned up the dotlock code for easier readability.
* Remove support for RISCOS from dotlock.cWerner Koch2011-09-221-58/+7
|
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-31/+30
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* More changes for CE. gpgsm does now build and run a keylisting.Werner Koch2010-03-241-9/+21
|
* Merged jnlib into common.Werner Koch2010-03-101-0/+713