"make info" fails

Eric Blake ebb9@byu.net
Thu Jul 19 02:35:00 GMT 2007


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
	{
		cookie_read_function_t	*read;
		cookie_write_function_t *write;
		cookie_seek_function_t	*seek;
		cookie_close_function_t *close;
	} cookie_io_functions_t;

What is the correct way to list '{' and '}' in the ANSI_SYNOPSIS, in such a way 
that it makes it into the info sources with proper quoting?

-- 
Eric Blake





More information about the Newlib mailing list