util.c: Add comment.
authorKarl Williamson <public@khwilliamson.com>
Sat, 30 Nov 2013 23:53:32 +0000 (16:53 -0700)
committerKarl 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

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);