[PATCH][BZ #16398] Fix infinite loop in ftell when writing wide char data
Siddhesh Poyarekar
siddhesh@redhat.com
Tue Feb 4 09:23:00 GMT 2014
On Tue, Feb 04, 2014 at 03:48:13AM -0500, Mike Frysinger wrote:
> On Monday, February 03, 2014 15:23:40 Siddhesh Poyarekar wrote:
> > --- /dev/null
> > +++ b/libio/tst-ftell-partial-wide.c
> >
> > +/* Defined in test-skeleton.c. */
> > +static int create_temp_file (const char *base, char **filename);
>
> ugh. it makes more sense imo (and is safer) to declare do_test static here,
> then move the TEST_FUNCTION define and test-skeleton.c include here. that way
> you aren't copying & pasting content from test-skeleton.c here.
OK, I'll make that change.
On Tue, Feb 04, 2014 at 09:55:58AM +0100, Andreas Schwab wrote:
> > Or do you want me to find out which character that is? It'll be a
> > fair bit of work...
> C-u C-x = will tell you.
Thanks.
Siddhesh
More information about the Libc-alpha
mailing list