This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Remove warning from gaxk


While generating index.html
I get this warning:

awk: cmd. line:135: warning: regexp component `[:digit:]' should probably be
`[[:digit:]]'


This is solved by the change below.

  May I consider those changes as obvious?



Pierre Muller
GDB pascal language maintainer

Gdb/ChangeLog entry:

2012-11-01  Pierre Muller  <muller@ics.u-strasbg.fr>

        * contrib/ari/gdb_ari.sh (Linux rule): Suppress awk warning.


Index: contrib/ari/gdb_ari.sh
===================================================================
RCS file: /cvs/src/src/gdb/contrib/ari/gdb_ari.sh,v
retrieving revision 1.1
diff -u -p -r1.1 gdb_ari.sh
--- contrib/ari/gdb_ari.sh      1 Nov 2012 21:22:27 -0000       1.1
+++ contrib/ari/gdb_ari.sh      1 Nov 2012 21:31:29 -0000
@@ -268,7 +268,7 @@ Do not use `Linux'\'', instead use `Linu
 && !/(^|[^_[:alnum:]])Linux\[sic\]([^_[:alnum:]]|$)/ \
 && !/(^|[^_[:alnum:]])GNU\/Linux([^_[:alnum:]]|$)/ \
 && !/(^|[^_[:alnum:]])Linux kernel([^_[:alnum:]]|$)/ \
-&& !/(^|[^_[:alnum:]])Linux [:digit:]\.[:digit:]+)/ {
+&& !/(^|[^_[:alnum:]])Linux [[:digit:]]\.[[:digit:]]+)/ {
     fail("GNU/Linux")
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]