* gcc.c-torture/execute/builtins/lib/strstr.c (strstr): Correct exit
test for successful match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94204
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-01-24 James E Wilson <wilson@specifixinc.com>
+
+ * gcc.c-torture/execute/builtins/lib/strstr.c (strstr): Correct exit
+ test for successful match.
+
2005-01-25 Alexander Malmberg <alexander@malmberg.org>
PR objc/18408
break;
p++, q++;
}
- if (*p == *q && *p == 0)
+ if (*q == 0)
return (char *)s1;
}
return 0;