From: Ulrich Drepper Date: Tue, 26 Oct 2010 04:23:45 +0000 (-0400) Subject: Add missing file. X-Git-Tag: glibc-2.13~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c54ff5c67ea2b2a1235e066da27ffec48a40c566;p=thirdparty%2Fglibc.git Add missing file. --- diff --git a/string/bug-strchr1.c b/string/bug-strchr1.c new file mode 100644 index 00000000000..21155d8a7f5 --- /dev/null +++ b/string/bug-strchr1.c @@ -0,0 +1,14 @@ +#include +#include + +static int +do_test (void) +{ + char s[] __attribute__((aligned(16))) = "\xff"; + char *p = strchr (s, '\xfe'); + printf ("%p\n", p); + return p != NULL; +} + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c"