Werner Koch
7dfcc9f19a
Allow distribution of dotlock.* also under a modified BSD license
2011-10-24 11:38:17 +02:00
Werner Koch
cdd152bf49
Change JNLIB license to LGPLv3+ or GPLv2+.
...
This is to allow the use of this code with code under GPLv2(only).
2011-09-30 12:53:34 +02:00
Werner Koch
a2d081a20a
Add prefix macro for dotlock functions.
...
Also fixed a type in the GLIB version.
2011-09-30 09:45:21 +02:00
Werner Koch
f61b5371c4
Add dotlock_get_fd and dotlock_set_fd.
2011-09-29 16:51:48 +02:00
Werner Koch
ed8e267859
Add a flag parameter to dotlock_create.
...
This allows us to extend this function in the future.
2011-09-28 15:41:58 +02:00
Werner Koch
8a033fecfb
Improved the dotlock module.
...
- 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.
2011-09-27 17:18:56 +02:00
Werner Koch
b73ae3ca36
Renamed the lock functions.
...
Also cleaned up the dotlock code for easier readability.
2011-09-23 14:43:58 +02:00
Werner Koch
d8b1099d01
Merged jnlib into common.
2010-03-10 12:24:58 +00:00