projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd7a71
)
Formerly generic/strstr.c.~6~
author
roland
<roland>
Thu, 2 Jul 1992 03:33:51 +0000
(
03:33
+0000)
committer
roland
<roland>
Thu, 2 Jul 1992 03:33:51 +0000
(
03:33
+0000)
sysdeps/generic/strstr.c
patch
|
blob
|
history
diff --git
a/sysdeps/generic/strstr.c
b/sysdeps/generic/strstr.c
index
142c834
..
1ec62ae
100644
(file)
--- a/
sysdeps/generic/strstr.c
+++ b/
sysdeps/generic/strstr.c
@@
-33,7
+33,7
@@
DEFUN(strstr, (haystack, needle),
register CONST char *begin;
if (needle_len == 0)
- return (char *) haystack;
+ return (char *) haystack
_end
;
if ((size_t) (haystack_end - haystack) < needle_len)
return NULL;