* 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 a82cdfdfa4cfd49cd2ab2e56da77530f181377d9..2759f070d70571138c7770eb978d8faad7bbe82a 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 b737d0e280b8961b646a54d7c6c4decfb5e8fa6f..e36638d18d6813ea34ef98e615bc8ec42a09cccd 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]
         }