Title: [199009] trunk/Tools
Revision
199009
Author
[email protected]
Date
2016-04-04 10:44:01 -0700 (Mon, 04 Apr 2016)

Log Message

[win] prepare-ChangeLog should treat windows path differently.
https://bugs.webkit.org/show_bug.cgi?id=156120

Patch by Bill Ming <[email protected]> on 2016-04-04
Reviewed by Brent Fulgham.

* Scripts/prepare-ChangeLog:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (199008 => 199009)


--- trunk/Tools/ChangeLog	2016-04-04 17:40:20 UTC (rev 199008)
+++ trunk/Tools/ChangeLog	2016-04-04 17:44:01 UTC (rev 199009)
@@ -1,3 +1,12 @@
+2016-04-04  Bill Ming  <[email protected]>
+
+        [win] prepare-ChangeLog should treat windows path differently.
+        https://bugs.webkit.org/show_bug.cgi?id=156120
+
+        Reviewed by Brent Fulgham.
+
+        * Scripts/prepare-ChangeLog:
+
 2016-04-04  Alejandro G. Castro  <[email protected]>
 
         REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations

Modified: trunk/Tools/Scripts/prepare-ChangeLog (199008 => 199009)


--- trunk/Tools/Scripts/prepare-ChangeLog	2016-04-04 17:40:20 UTC (rev 199008)
+++ trunk/Tools/Scripts/prepare-ChangeLog	2016-04-04 17:44:01 UTC (rev 199009)
@@ -486,7 +486,11 @@
         my $prefix = $file;
         my $has_log = 0;
         while ($prefix) {
-            $prefix =~ s-/[^/]+/?$-/- or $prefix = "";
+            if ($^O eq "MSWin32") {
+                $prefix =~ s-\\[^\\]+\\?$-\\- or $prefix = "";
+            } else {
+                $prefix =~ s-/[^/]+/?$-/- or $prefix = "";
+            }
             $has_log = $has_log{$prefix};
             if (!defined $has_log) {
                 $has_log = -f "${prefix}ChangeLog";
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to