Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eff305
)
Fix pool_create() to honor the POOL_INTERN flag.
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Aug 2007 04:54:30 +0000
(
04:54
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Aug 2007 04:54:30 +0000
(
04:54
+0000)
(Thanks to Brion Vibber.)
lib/pool_alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/pool_alloc.c
b/lib/pool_alloc.c
index
7d95f19
..
e1ce50b
100644
(file)
--- a/
lib/pool_alloc.c
+++ b/
lib/pool_alloc.c
@@
-52,7
+52,7
@@
pool_create(size_t size, size_t quantum, void (*bomb)(const char *), int flags)
pool->size = size /* round extent size to min alignment reqs */
? (size + MINALIGN - 1) & ~(MINALIGN - 1)
: POOL_DEF_EXTENT;
- if (
pool->
flags & POOL_INTERN) {
+ if (flags & POOL_INTERN) {
pool->size -= sizeof (struct pool_extent);
flags |= POOL_APPEND;
}