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 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.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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