diff --git a/library/changes b/library/changes index 80b16a6..7826ed9 100644 --- a/library/changes +++ b/library/changes @@ -8,6 +8,9 @@ - Changed how ftell() and fseek() are used, double-checking the return value and the errno code. +- The record locking semaphore could wind up getting added to the public + list twice. Fixed. + c.lib 1.191 (9.4.2005) diff --git a/library/stdio_record_locking.c b/library/stdio_record_locking.c index 32fc621..6011f8d 100644 --- a/library/stdio_record_locking.c +++ b/library/stdio_record_locking.c @@ -1,5 +1,5 @@ /* - * $Id: stdio_record_locking.c,v 1.11 2005-04-24 09:53:12 obarthel Exp $ + * $Id: stdio_record_locking.c,v 1.12 2005-04-24 12:19:06 obarthel Exp $ * * :ts=4 * @@ -153,6 +153,7 @@ obtain_file_lock_semaphore(BOOL shared) fls = AllocSysObjectTags(ASOT_SEMAPHORE, ASOSEM_Size, sizeof(*fls), ASOSEM_Name, semaphore_name_copy, + ASOSEM_Public, FALSE; /* we want to add it ourselves */ ASOSEM_Pri, 1, TAG_END); }