-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Simon Josefsson on 5/26/2009 6:15 AM: > +2009-05-26 Simon Josefsson <[email protected]> > + > + * tests/test-strstr.c: Add another self-test. > { > + /* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */ > + char *input = strdup ("aBaaaaaaaaaaax");
Did you take the proper precautions to ensure strdup is available? I'd almost feel better if you rewrote this to use malloc/strcpy, rather than dragging in dependencies just for the test. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkob6NAACgkQ84KuGfSFAYCvMACfVFg/NFXXr7yqbWG5sMJeTZ36 0agAnAsm3FV6KNPsja4i1aLrPYsZyIE6 =Bksd -----END PGP SIGNATURE-----
