This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [ARI] Add "bzero" (was: "Re: Build failure for x86_64-pc-mingw32 target")
Pierre also informed me privately that he checked in the change below,
after testing it with tonight's snapshot.
> 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
--
Joel