diff --git a/lib/t1lib/parseAFM.c b/lib/t1lib/parseAFM.c index 6a31d7f..ba64541 100644 --- a/lib/t1lib/parseAFM.c +++ b/lib/t1lib/parseAFM.c @@ -199,7 +199,9 @@ static char *token(stream) idx = 0; while (ch != EOF && ch != ' ' && ch != CR && ch != LF && - ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';'){ + ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';' + && idx < (MAX_NAME -1)) + { ident[idx++] = ch; ch = fgetc(stream); } /* while */ @@ -235,7 +237,7 @@ static char *linetoken(stream) while ((ch = fgetc(stream)) == ' ' || ch == '\t' ); idx = 0; - while (ch != EOF && ch != CR && ch != LF && ch != CTRL_Z) + while (ch != EOF && ch != CR && ch != LF && ch != CTRL_Z && idx < (MAX_NAME - 1)) { ident[idx++] = ch; ch = fgetc(stream); /select> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mpi.scm
AgeCommit message (Expand)Author
2016-02-03gnu: hwloc: Build without numactl support on armhf....* gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the package is not available. Andreas Enge
2015-11-20gnu: openmpi: Update to 1.10.1....* gnu/packages/mpi.scm (openmpi): Update to 1.10.1. [arguments]: Remove now-unsupported configure flags. Add --enable-builtin-atomics. Remove development-oriented --enable-debug. Eric Bavier
2015-11-20gnu: hwloc: Update to 1.11.1....* gnu/packages/mpi.scm (hwloc): Update to 1.11.1. [source]: Remove patch. * gnu/packages/patches/hwloc-gather-topology-lstopo.patch: Delete it. * gnu-system.am (dist_patch_DATA): Remove it. Eric Bavier