Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [ARI patch] Fix gawk-4.0 warning
@ 2012-03-14 20:15 Jan Kratochvil
  2012-03-14 21:12 ` Joel Brobecker
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kratochvil @ 2012-03-14 20:15 UTC (permalink / raw)
  To: gdb-patches

Hi,

unaware who maintains ARI:

For http://sourceware.org/gdb/current/ari/gdb_ari.sh
with gawk-4.0.0-4.fc17.x86_64 getting:
awk: cmd. line:135: warning: regexp component `[:digit:]' should probably be `[[:digit:]]'

Untested.


Thanks,
Jan


	* gdb_ari.sh (GNU/Linux): Fix '[:digit:]' compatibility with gawk-4.0.

--- /home/jkratoch/t/gdb_ari.sh-orig	2012-03-14 20:15:48.804209849 +0100
+++ /home/jkratoch/t/gdb_ari.sh	2012-03-14 20:57:07.255866311 +0100
@@ -242,7 +242,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")
 }
 


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

end of thread, other threads:[~2012-03-15 16:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 20:15 [ARI patch] Fix gawk-4.0 warning Jan Kratochvil
2012-03-14 21:12 ` Joel Brobecker
2012-03-15 10:19   ` Pedro Alves
2012-03-15 15:25     ` Joel Brobecker
2012-03-15 15:52       ` Pedro Alves
2012-03-15 16:21         ` Joel Brobecker

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