This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "make info" fails


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]