diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-03 02:27:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-03 02:27:41 +0000 |
commit | 20ce61ccc88dd3868176932736e03e4d85f1bfd0 (patch) | |
tree | 037d1b145978eaccf3e1f55f6b006a31bd086bcd /source3/rpc_parse/parse_spoolss.c | |
parent | 37a6e44ad846598aedc8cb7306c1aef86d930756 (diff) | |
download | samba-20ce61ccc88dd3868176932736e03e4d85f1bfd0.tar.gz samba-20ce61ccc88dd3868176932736e03e4d85f1bfd0.tar.bz2 samba-20ce61ccc88dd3868176932736e03e4d85f1bfd0.zip |
Fix for stacking locks in brlock and POSIX. Windows only allows a read lock
to overlay a write lock on the same fnum. When overlaying read locks onto
a write lock, the number of locks is counted, and the first unlock removes
the write lock and downgrades this to a read lock. Do the same when mapping
to POSIX.
Jeremy.
(This used to be commit 74d42644e6e52808037975e909aa56c850838b76)
Diffstat (limited to 'source3/rpc_parse/parse_spoolss.c')
0 files changed, 0 insertions, 0 deletions