[PATCH][BZ #16398] Fix infinite loop in ftell when writing wide char data
Mike Frysinger
vapier@gentoo.org
Tue Feb 4 08:48:00 GMT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140204/39426b23/attachment.sig>
More information about the Libc-alpha
mailing list