mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix BZ #14602: strstr and strcasestr return wrong result.
This commit is contained in:
@ -35,10 +35,8 @@
|
||||
#define AVAILABLE(h, h_l, j, n_l) \
|
||||
(!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \
|
||||
&& ((h_l) = (j) + (n_l)))
|
||||
#define AVAILABLE1(h, h_l, j, n_l) (true)
|
||||
#define AVAILABLE2(h, h_l, j, n_l) AVAILABLE (h, h_l, j, n_l)
|
||||
#define CHECK_EOL (1)
|
||||
#define RET0_IF_0(a) if (!a) goto ret0
|
||||
#define AVAILABLE1_USES_J (0)
|
||||
#include "str-two-way.h"
|
||||
|
||||
#undef strstr
|
||||
|
Reference in New Issue
Block a user