On Wed, 2010-05-12 at 15:51 -0700, Keith Packard wrote: > Here's a script I wrote to switch allocator calls around: > > #!/bin/sh > sed -i \ > -e 's/\<[Xx]alloc\> *(/malloc(/' \ > -e 's/\<[Xx]free\> *(/free(/' \ > -e 's/\<[Xx]realloc\> *(/realloc(/' \ > -e 's/\<[Xx]calloc\> *(/calloc(/' \ > "$@"
That's wrong for Xcalloc: void * Xcalloc(unsigned long amount) /* ... */ How awesome is it that we defeated the most useful part of calloc? - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
