From owner-freebsd-current Fri Jan 15 00:45:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11696 for freebsd-current-outgoing; Fri, 15 Jan 1999 00:45:51 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11691; Fri, 15 Jan 1999 00:45:50 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca13-168.ix.netcom.com [209.109.238.168]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id AAA06452; Fri, 15 Jan 1999 00:44:39 -0800 (PST) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.1/8.6.9) id AAA25441; Fri, 15 Jan 1999 00:44:32 -0800 (PST) Date: Fri, 15 Jan 1999 00:44:32 -0800 (PST) Message-Id: <199901150844.AAA25441@silvia.hip.berkeley.edu> To: markm@FreeBSD.ORG, current@FreeBSD.ORG In-reply-to: <199901150804.AAA25280@silvia.hip.berkeley.edu> (asami@cs.berkeley.edu) Subject: Re: another texinfo buglet? From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * ======= * ===> makeinfo * cc -O -pipe -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/local\" -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib -I../libintl -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/makeinfo.c * /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/makeinfo.c: In function `xrealloc': * /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/makeinfo.c:1205: parse error before `void' * : * ======= I looked into it a bit more. This file is definitely corrupted. These are the lines around 1205: === /* Like realloc (), but barfs if there isn't enough memory. */ void * xrealloc (pointer, nbytes) void *pointer; unsigned int nbytes; { void *temp; if (!pointer) temp = (void *)xmalloc (nbytes); else temp = (void *)realloc (pointer, nbytes); /* If EXIT_VALUE is zero, print the full usage message to stdout. Otherwise, just say to use --help for more info. Then exit with EXIT_VALUE. */ void <======= 1205 usage (exit_value) int exit_value; { if (exit_value != 0) fprintf (stderr, _("Try `%s --help' for more information.\n"), progname); else printf (_("Usage: %s [OPTION]... TEXINFO-FILE...\n\ === Line 1205 is the "void" before usage(). It looks like (at least) the second half of xrealloc() is missing. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message