/*- * Copyright (c) 1979, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint static char sccsid[] = "@(#)LLIMIT.c 8.1 (Berkeley) 06/06/93"; #endif /* not lint */ #include "h00vars.h" LLIMIT(curfile, limit) register struct iorec *curfile; long limit; { if (limit <= 0) limit = 0x7fffffff; curfile->llimit = limit; if (curfile->lcount >= curfile->llimit) { ERROR("%s: Line limit exceeded\n", curfile->pfname); return; } }