diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/ChangeLog | 5 | ||||
-rw-r--r-- | util/dotlock.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index 2f5609d84..fd1279ef9 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,8 @@ +2000-12-28 Werner Koch <[email protected]> + + * dotlock.c: Made all_lockfiles volatile. + (remove_lockfiles): Made public. + 2000-11-30 Werner Koch <[email protected]> * iobuf.c (iobuf_translate_file_handle): New. diff --git a/util/dotlock.c b/util/dotlock.c index fc8ddae36..a56789608 100644 --- a/util/dotlock.c +++ b/util/dotlock.c @@ -46,11 +46,10 @@ struct dotlock_handle { }; -static DOTLOCK all_lockfiles; +static volatile DOTLOCK all_lockfiles; static int never_lock; static int read_lockfile( const char *name ); -static void remove_lockfiles(void); void disable_dotlock(void) @@ -349,7 +348,7 @@ read_lockfile( const char *name ) } -static void +void remove_lockfiles() { #ifndef HAVE_DOSISH_SYSTEM |