summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-19 08:49:53 -0700
committerWayne Davison <wayned@samba.org>2008-07-19 09:20:56 -0700
commitfb01d1fb07f6efd3752ff895fe8a77e26a2b2055 (patch)
tree3fe8d6d44fa2754f865592b8f160214ef033c809 /flist.c
parent51ce67d59968560f0e975dc97bb0a22a7edb0610 (diff)
downloadrsync-fb01d1fb07f6efd3752ff895fe8a77e26a2b2055.tar.gz
Changed the POOL_QALIGN flag to POOL_NO_QALIGN, reversing the setting
(making pools aligned by default). Added the missing code to make the documented behavior of pool_free() with a NULL addr work. Updated the pool_alloc.3 manpage.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flist.c b/flist.c
index 1c7385c6..1f90403f 100644
--- a/flist.c
+++ b/flist.c
@@ -2432,7 +2432,7 @@ struct file_list *flist_new(int flags, char *msg)
if (flags & FLIST_TEMP) {
if (!(flist->file_pool = pool_create(SMALL_EXTENT, 0,
out_of_memory,
- POOL_INTERN|POOL_QALIGN)))
+ POOL_INTERN)))
out_of_memory(msg);
} else {
/* This is a doubly linked list with prev looping back to
@@ -2440,7 +2440,7 @@ struct file_list *flist_new(int flags, char *msg)
if (!first_flist) {
flist->file_pool = pool_create(NORMAL_EXTENT, 0,
out_of_memory,
- POOL_INTERN|POOL_QALIGN);
+ POOL_INTERN);
if (!flist->file_pool)
out_of_memory(msg);