Commit a3eea41f authored by knielsen@mysql.com's avatar knielsen@mysql.com

BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.

parent 11073be8
...@@ -180,7 +180,7 @@ BEGIN { ...@@ -180,7 +180,7 @@ BEGIN {
t = types[i]; t = types[i];
if (modes[i] == "POINTER") { if (modes[i] == "POINTER") {
ndx = index(t, "*"); ndx = index(t, "*");
t = substr(types[i], 0, ndx - 2); t = substr(types[i], 1, ndx - 2);
} }
printf("\t%s\t%s;\n", t, vars[i]) >> HFILE printf("\t%s\t%s;\n", t, vars[i]) >> HFILE
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment