Commit ce52a6b2 authored by unknown's avatar unknown

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

bdb/dist/gen_rec.awk:
  Fix undefined behaviour.
parent 11b6afd3
No related merge requests found
......@@ -180,7 +180,7 @@ BEGIN {
t = types[i];
if (modes[i] == "POINTER") {
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
}
......
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