This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH][BZ #16398] Fix infinite loop in ftell when writing wide char data


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


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