Index: gdb_ari.sh =================================================================== RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v retrieving revision 1.89 diff -u -p -r1.89 gdb_ari.sh --- gdb_ari.sh 20 Apr 2009 15:55:23 -0000 1.89 +++ gdb_ari.sh 6 May 2009 16:00:22 -0000 @@ -1028,6 +1028,14 @@ Do not use xvasprintf(), instead use xst # More generic memory operations +BEGIN { doc["bzero"] = "\ +Do not use bzero(), instead use memset()" + category["bzero"] = ari_regression +} +/(^|[^_[:alnum:]])bzero[[:space:]]*\(/ { + fail("bzero") +} + BEGIN { doc["strdup"] = "\ Do not use strdup(), instead use xstrdup()"; category["strdup"] = ari_regression