* features/feature_to_c.sh: Use %s to avoid problems with nawk.
authorDaniel Jacobowitz <drow@false.org>
Thu, 8 Feb 2007 13:56:13 +0000 (13:56 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 8 Feb 2007 13:56:13 +0000 (13:56 +0000)
gdb/ChangeLog
gdb/features/feature_to_c.sh

index a82cdfd..2759f07 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * features/feature_to_c.sh: Use %s to avoid problems with nawk.
+
 2007-02-08  Mark Kettenis  <kettenis@gnu.org>
 
        * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
index b737d0e..e36638d 100644 (file)
@@ -51,7 +51,7 @@ for input; do
         } else if (c == "\\") {
           printf "'\''\\\\'\'', "
         } else if (_ord_[c] >= 32 && _ord_[c] < 127) {
-          printf "'\''" c "'\'', "
+         printf "'\''%s'\'', ", c
         } else {
           printf "'\''\\%03o'\'', ", _ord_[c]
         }