mirror of
https://github.com/adtools/clib2.git
synced 2026-05-08 22:24:58 +00:00
- The record locking semaphore could wind up getting added to the public
list twice. Fixed. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14924 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@@ -8,6 +8,9 @@
|
|||||||
- Changed how ftell() and fseek() are used, double-checking the return
|
- Changed how ftell() and fseek() are used, double-checking the return
|
||||||
value and the errno code.
|
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)
|
c.lib 1.191 (9.4.2005)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
* :ts=4
|
||||||
*
|
*
|
||||||
@@ -153,6 +153,7 @@ obtain_file_lock_semaphore(BOOL shared)
|
|||||||
fls = AllocSysObjectTags(ASOT_SEMAPHORE,
|
fls = AllocSysObjectTags(ASOT_SEMAPHORE,
|
||||||
ASOSEM_Size, sizeof(*fls),
|
ASOSEM_Size, sizeof(*fls),
|
||||||
ASOSEM_Name, semaphore_name_copy,
|
ASOSEM_Name, semaphore_name_copy,
|
||||||
|
ASOSEM_Public, FALSE; /* we want to add it ourselves */
|
||||||
ASOSEM_Pri, 1,
|
ASOSEM_Pri, 1,
|
||||||
TAG_END);
|
TAG_END);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user