Fix scripts to generate correct tables for compilers which have character constants...
authorAlexander Bokovoy <ab@samba.org>
Wed, 17 Sep 2003 17:49:35 +0000 (17:49 +0000)
committerAlexander Bokovoy <ab@samba.org>
Wed, 17 Sep 2003 17:49:35 +0000 (17:49 +0000)
(This used to be commit e4dda8cb222bc3a971088897e47bd8e249cd0188)

source3/script/gaptab.awk

index f9d15263610193b9ab6300bf622182b3b1bf4813..a309089cd5bded3a8b24579623faa55eaf07a18e 100644 (file)
@@ -23,9 +23,9 @@ function tonum(str)
 function fmt(val)
 {
   if (f++ % 8 == 0)
-    { printf ("\n  '\\x%02x',", val); }
+    { printf ("\n  0x%02x,", val); }
   else
-    { printf (" '\\x%02x',", val); }
+    { printf (" 0x%02x,", val); }
 }
 
 {