From 0a92a2bfe0d0ec9061495ab6421c97eaefefcae0 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 27 Sep 2004 20:17:36 +0000 Subject: [PATCH] Just fixed comment (strncmp is ANSI C so will be present on all systems as SWIG requires an ANSI compiler) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6278 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/DOH/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DOH/string.c b/Source/DOH/string.c index 977b9f2c2..16f72f7ce 100644 --- a/Source/DOH/string.c +++ b/Source/DOH/string.c @@ -117,7 +117,7 @@ String_cmp(DOH *so1, DOH *so2) register char *c1 = s1->str; register char *c2 = s2->str; #if 1 - /* this is better, but strncmp could be not present in all the systems? */ + /* this should be faster */ if (len != s2->len) { return (len < s2->len) ? -1 : 1; } else {