Eric Blake wrote:
> > I don't think it is a bug. memchr could also be implemented by doing
> > a backwards search and still be conforming to ISO C99 and POSIX:
>
> The Austin Group disagrees with you. Here is the results from the meeting
> yesterday
> (https://www.opengroup.org/sophocles/show_mai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 5/26/2009 4:05 PM:
> Eric Blake wrote:
>> http://www.alphalinux.org/archives/axp-list/March2001/0337.shtml
>>
>> It looks like the bug is alpha-specific in memchr
>
> I don't think it is a bug. memchr could also be impleme
Bruno Haible clisp.org> writes:
>
> Eric Blake wrote:
> > http://www.alphalinux.org/archives/axp-list/March2001/0337.shtml
> >
> > It looks like the bug is alpha-specific in memchr
>
> I don't think it is a bug. memchr could also be implemented by doing
> a backwards search and still be confor
Eric Blake wrote:
> http://www.alphalinux.org/archives/axp-list/March2001/0337.shtml
>
> It looks like the bug is alpha-specific in memchr
I don't think it is a bug. memchr could also be implemented by doing
a backwards search and still be conforming to ISO C99 and POSIX:
void *memchr(const vo
Simon Josefsson josefsson.org> writes:
> >> + * tests/test-strstr.c: Add another self-test.
> >>{
> >> +/* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */
> >> +char *input = strdup ("aBaaax");
> >
> > Did you take the proper precautions to ensure strdup is ava
Eric Blake writes:
> According to Simon Josefsson on 5/26/2009 6:15 AM:
>> +2009-05-26 Simon Josefsson
>> +
>> +* tests/test-strstr.c: Add another self-test.
>>{
>> +/* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */
>> +char *input = strdup ("aBaaax");
>
Eric Blake writes:
> According to Simon Josefsson on 5/26/2009 6:48 AM:
>> I'm not sure, it isn't clear that this particular strstr problem is a
>> common problem.
>>
>> I think the first step is to add this to the self-test. If we get
>> reports about it, we can try to learn which platforms an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 5/26/2009 6:56 AM:
> Yes, adding to the test is a good first step, and we can use the feedback
> to decide how much else we might need to do. Is the bug also present in
> gnulib's strstr replacement?
To answer my own questi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Simon Josefsson on 5/26/2009 6:15 AM:
> +2009-05-26 Simon Josefsson
> +
> + * tests/test-strstr.c: Add another self-test.
>{
> +/* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */
> +char *input = strdup ("
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Simon Josefsson on 5/26/2009 6:48 AM:
> I'm not sure, it isn't clear that this particular strstr problem is a
> common problem.
>
> I think the first step is to add this to the self-test. If we get
> reports about it, we can try to learn
Eric Blake writes:
> According to Simon Josefsson on 5/26/2009 6:15 AM:
>>{
>> +/* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */
>> +char *input = strdup ("aBaaax");
>> +const char *result = strstr (input, "B1x");
>
> Does this mean we also need to beef up
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Simon Josefsson on 5/26/2009 6:15 AM:
>{
> +/* See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 */
> +char *input = strdup ("aBaaax");
> +const char *result = strstr (input, "B1x");
Does this mean we als
Pushed.
/Simon
---
ChangeLog |4
tests/test-strstr.c | 10 +-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 993b6ad..96d5f10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-26 Simon Josefsson
+
+
13 matches
Mail list logo