diff options
author | unknown <knielsen@mysql.com> | 2005-12-14 13:09:37 +0100 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2005-12-14 13:09:37 +0100 |
commit | ce52a6b28b884d8e50ba23f59b35e290f05d2508 (patch) | |
tree | 9fdb5462e3f7437a7a880f835977f9c9ef96d936 /bdb | |
parent | 11b6afd3b3c7460ef5b9d058aa630e77a5140346 (diff) | |
download | mariadb-git-ce52a6b28b884d8e50ba23f59b35e290f05d2508.tar.gz |
BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.
bdb/dist/gen_rec.awk:
Fix undefined behaviour.
Diffstat (limited to 'bdb')
-rw-r--r-- | bdb/dist/gen_rec.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/dist/gen_rec.awk b/bdb/dist/gen_rec.awk index 75f2e86ca9e..e1b75699027 100644 --- a/bdb/dist/gen_rec.awk +++ b/bdb/dist/gen_rec.awk @@ -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 } |