projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete trailing whitespace at end of lines.
[pspp-builds.git]
/
src
/
language
/
tests
/
pool-test.c
diff --git
a/src/language/tests/pool-test.c
b/src/language/tests/pool-test.c
index fef3ca61361e03df418b91811a71b037d30f0d32..fdf63731b73aad4c7c48e6b80d84392bd73642da 100644
(file)
--- a/
src/language/tests/pool-test.c
+++ b/
src/language/tests/pool-test.c
@@
-62,7
+62,7
@@
cmd_debug_pool (struct lexer *lexer UNUSED, struct dataset *ds UNUSED)
printf (" Marking pool state...\n");
pool_mark (pool, &m2);
printf (" Marking pool state...\n");
pool_mark (pool, &m2);
-
+
printf (" Populating pool with random-sized small "
"and large objects...\n");
for (i = 0; i < N_ITERATIONS; i++)
printf (" Populating pool with random-sized small "
"and large objects...\n");
for (i = 0; i < N_ITERATIONS; i++)
@@
-96,14
+96,14
@@
cmd_debug_pool (struct lexer *lexer UNUSED, struct dataset *ds UNUSED)
}
else if (type == 1)
pool_create_subpool (pool);
}
else if (type == 1)
pool_create_subpool (pool);
- else
+ else
{
size_t size = rand () % (2 * MAX_SUBALLOC);
void *p = pool_alloc (pool, size);
memset (p, 0, size);
}
}
{
size_t size = rand () % (2 * MAX_SUBALLOC);
void *p = pool_alloc (pool, size);
memset (p, 0, size);
}
}
-
+
printf ("Releasing pool state...\n");
pool_release (pool, &m1);
printf ("Releasing pool state...\n");
pool_release (pool, &m1);