--- ray/src/util/rcollate.c 2016/08/18 00:52:48 2.25 +++ ray/src/util/rcollate.c 2018/08/02 18:33:50 2.26 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rcollate.c,v 2.25 2016/08/18 00:52:48 greg Exp $"; +static const char RCSid[] = "$Id: rcollate.c,v 2.26 2018/08/02 18:33:50 greg Exp $"; #endif /* * Utility to re-order records in a binary or ASCII data file (matrix) @@ -441,7 +441,7 @@ done: static int headline(char *s, void *p) { - static char fmt[32]; + static char fmt[MAXFMTLEN]; int n; if (formatval(fmt, s)) {