From: danw Date: Wed, 15 Apr 1998 03:00:15 +0000 (+0000) Subject: make MAX_FIELD_WIDTH have room for a NULL like everything else X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/0a8da36a06d4b5b720e9ccdfa588fd4e924133b2 make MAX_FIELD_WIDTH have room for a NULL like everything else --- diff --git a/db/doschema.awk b/db/doschema.awk index c453d996..59d42565 100644 --- a/db/doschema.awk +++ b/db/doschema.awk @@ -66,7 +66,7 @@ NF >= 2 { END { if (hfile) { - printf "\n#define MAX_FIELD_WIDTH %d\n", maxsize; + printf "\n#define MAX_FIELD_WIDTH %d\n", maxsize + 1; printf "\nenum tables { NO_TABLE,"; len = 22; } else {