This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/lib/open.t: Generalize for EBCDIC platforms
[perl5.git]
/
util.c
diff --git
a/util.c
b/util.c
index
3cb610e
..
28be5ca
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-556,10
+556,6
@@
Perl_instr(const char *big, const char *little)
PERL_ARGS_ASSERT_INSTR;
- /* libc prior to 4.6.27 (late 1994) did not work properly on a NULL
- * 'little' */
- if (!little)
- return (char*)big;
return strstr((char*)big, (char*)little);
}