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(/' \
"$@"I think that's all that's required. Suggestions on which repo to stick it in are welcome; the only even slightly related spot might be util/modular. -- [email protected]
pgpTzPtuWubSF.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
