Commit graph

6 commits

Author SHA1 Message Date
Chris Wilson
5efc88e910 [xmalloc] Hide valgrind warning.
Allocate the string to the next integer boundary to hide a valgrind
warning.
2008-02-15 13:50:41 +00:00
Chris Wilson
7332a5e994 [boilerplate/xmalloc] Special case malloc(0) and friends.
malloc(0) can return NULL so double check the requested size before
exiting with an out-of-memory error.
2007-08-16 15:36:05 +01:00
Behdad Esfahbod
2e709321d8 [boilerplate] Move xasprintf to xmalloc.c 2007-04-20 00:52:03 -04:00
Carl Worth
7673e3ac3f boilerplate: Add xrealloc function 2006-11-08 06:07:01 -08:00
Carl Worth
d52a1f762d Move test-specific stuff out of boilerplate/ and back into test/
This now gives us two separate libtool convenience libraries,
so they have to have separate names now:
libcairoboilerplate.la and libcairotest.la.
2006-08-31 01:39:06 -07:00
Carl Worth
7f4e83ceeb Split libcairotest files out from test/ and into boilerplate/
The idea here is to setup boilerplate to allow code sharing between
test/ and the upcoming perf/
2006-08-30 15:34:27 -07:00
Renamed from test/xmalloc.c (Browse further)