"make info" fails

Eric Blake ebb9@byu.net
Thu Jul 19 07:16:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 7/18/2007 5:22 PM:
> DJ Delorie <dj <at> redhat.com> writes:
> 
>>
>> Anyone else see this?
>>
>> ./stdio/fopencookie.def:15: Misplaced {.
>> ./stdio/fopencookie.def:20: Misplaced }.
> 
> I obviously didn't test that when I implemented fopencookie.  The culprit is 
> this in fopencookie.c:
> 
> ANSI_SYNOPSIS
> ...
> 	typedef struct
> 	{

And after scouring doc/makedoc.c, the solution is below (see also
stdlib/ldiv.c for docs that use a struct).

The other problem was that the .def files were being created with node
names that did not match the file name.  The solution was to list the
function described by the current filename first.

I'm checking this patch in as obvious, since it was preventing a
documentation build.

2007-07-18  Eric Blake  <ebb9@byu.net>

	Fix 'make info'.
	* libc/stdio/stdio.tex: Add missing include.
	* libc/stdio/vfprintf.c: Use expected node name.
	* libc/stdio/vfscanf.c: Likewise.
	* libc/stdio/sscanf.c: Likewise.
	* libc/stdio/sprintf.c: Likewise.
	* libc/stdio/siscanf.c: Likewise.
	* libc/stdio/siprintf.c: Likewise.
	* libc/stdio/fopencookie.c: Quote raw {}.
	Reported by DJ Delorie.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnt3B84KuGfSFAYARAn87AKChYDZbCHKvxp5VWNjPeR7Kl3uNOgCfeOON
5tASPxn1m38jeVYwF6SCQOo=
=691R
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch22
URL: <http://sourceware.org/pipermail/newlib/attachments/20070719/8026645d/attachment.ksh>


More information about the Newlib mailing list