Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] AR Index: Add exceptions for gnulib/string.in.h
@ 2009-03-23 23:14 Pierre Muller
  2009-03-23 23:36 ` Joel Brobecker
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Muller @ 2009-03-23 23:14 UTC (permalink / raw)
  To: gdb-patches

2 strdup and 2 strerror failures listed in
AR Index are due to code in gnulib/string.in.h
header.

  This code inserts a linking time warning
so I suppose that it can be added to the list of 
occurrences that can be ignored.

Commit log:
	* Add exceptions for gnulib/string.in.h
	for 2 strdup and 2 strerror occurrences.

Is this OK?


Pierre Muller
Pascal language support maintainer for GDB



Index: gdb_ari.sh
===================================================================
RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v
retrieving revision 1.80
diff -u -p -r1.80 gdb_ari.sh
--- gdb_ari.sh  23 Mar 2009 14:38:19 -0000      1.80
+++ gdb_ari.sh  23 Mar 2009 22:46:00 -0000
@@ -498,6 +498,7 @@ Do not use &&, or || at the end of a lin
 BEGIN { doc["strerror"] = "\
 Do not use strerror(), instead use safe_strerror()"
     category["strerror"] = ari_regression
+    fix("strerror", "gdb/gnulib/string.in.h", 2)
     fix("strerror", "gdb/gdb_string.h", 1)
     fix("strerror", "gdb/mingw-hdep.c", 1)
     fix("strerror", "gdb/posix-hdep.c", 1)
@@ -1336,6 +1337,7 @@ Do not use strdup(), instead use xstrdup
     category["strdup"] = ari_regression
 }
 /(^|[^_[:alnum:]])strdup[[:space:]]*\(/ {
+    fix("strdup", "gdb/gnulib/string.in.h", 2)
     fail("strdup")
 }



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-24  7:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 23:14 [RFA] AR Index: Add exceptions for gnulib/string.in.h Pierre Muller
2009-03-23 23:36 ` Joel Brobecker
2009-03-24  0:00   ` Pierre Muller
2009-03-24  2:44     ` Joel Brobecker
2009-03-24  7:22       ` [PATCH] AR Index: Ignore gnulib directory Pierre Muller
2009-03-24  1:27   ` [RFA] AR Index: Add exceptions for gnulib/string.in.h Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox