diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 04:48:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 04:48:17 +0000 |
commit | 60a683465647932f7241ba9f92443d5e5294e20b (patch) | |
tree | e2164f85c3dc5232d9d727607064875759dd95fd /source/lib/bitmap.c | |
parent | 04e92e692e49234df6fbbfd07a33b315ed62f0de (diff) | |
download | samba-60a683465647932f7241ba9f92443d5e5294e20b.tar.gz samba-60a683465647932f7241ba9f92443d5e5294e20b.tar.xz samba-60a683465647932f7241ba9f92443d5e5294e20b.zip |
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
Diffstat (limited to 'source/lib/bitmap.c')
-rw-r--r-- | source/lib/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/bitmap.c b/source/lib/bitmap.c index 9ccdbb420b1..93c821c5285 100644 --- a/source/lib/bitmap.c +++ b/source/lib/bitmap.c @@ -81,7 +81,7 @@ BOOL bitmap_clear(struct bitmap *bm, unsigned i) /**************************************************************************** query a bit in a bitmap ****************************************************************************/ -static BOOL bitmap_query(struct bitmap *bm, unsigned i) +BOOL bitmap_query(struct bitmap *bm, unsigned i) { if (i >= bm->n) return False; if (bm->b[i/32] & (1<<(i%32))) { |