projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da30562
)
util.c: Add comment.
author
Karl Williamson
<public@khwilliamson.com>
Sat, 30 Nov 2013 23:53:32 +0000
(16:53 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 6 Feb 2014 05:17:55 +0000
(22:17 -0700)
I wonder if we need to worry about compatibility with a 1994 libc?
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index
9d4b246
..
6dc39f0
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-521,7
+521,8
@@
Perl_instr(const char *big, const char *little)
PERL_ARGS_ASSERT_INSTR;
- /* libc prior to 4.6.27 did not work properly on a NULL 'little' */
+ /* 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);