Title: [238766] trunk/Source/_javascript_Core
Revision
238766
Author
[email protected]
Date
2018-11-30 16:42:56 -0800 (Fri, 30 Nov 2018)

Log Message

Try to fix Windows build by using strcmp instead of strcasecmp.

* jsc.cpp:
(isMJSFile):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (238765 => 238766)


--- trunk/Source/_javascript_Core/ChangeLog	2018-12-01 00:40:24 UTC (rev 238765)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-12-01 00:42:56 UTC (rev 238766)
@@ -1,3 +1,10 @@
+2018-11-30  Dean Jackson  <[email protected]>
+
+        Try to fix Windows build by using strcmp instead of strcasecmp.
+
+        * jsc.cpp:
+        (isMJSFile):
+
 2018-11-30  Mark Lam  <[email protected]>
 
         Fix the bytecode code generator scripts to pretty print Bytecodes.h.

Modified: trunk/Source/_javascript_Core/jsc.cpp (238765 => 238766)


--- trunk/Source/_javascript_Core/jsc.cpp	2018-12-01 00:40:24 UTC (rev 238765)
+++ trunk/Source/_javascript_Core/jsc.cpp	2018-12-01 00:42:56 UTC (rev 238766)
@@ -2579,7 +2579,7 @@
     filename = strrchr(filename, '.');
 
     if (filename)
-        return !strcasecmp(filename, ".mjs");
+        return !strcmp(filename, ".mjs");
 
     return false;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to