Title: [275541] trunk
Revision
275541
Author
mark....@apple.com
Date
2021-04-06 12:42:57 -0700 (Tue, 06 Apr 2021)

Log Message

Speculative build fix for Windows port.
https://bugs.webkit.org/show_bug.cgi?id=224243
rdar://75883248

Reviewed by Saam Barati.

Source/cmake/tools/scripts/auto-version.pl was limiting our `minor` and `micro`
version to only 2 decimal digits only.  In practice, we can use up to 3 digits.

* Source/cmake/tools/scripts/auto-version.pl:
(packTwoValues):

Modified Paths

Diff

Modified: trunk/ChangeLog (275540 => 275541)


--- trunk/ChangeLog	2021-04-06 19:42:13 UTC (rev 275540)
+++ trunk/ChangeLog	2021-04-06 19:42:57 UTC (rev 275541)
@@ -1,3 +1,17 @@
+2021-04-06  Mark Lam  <mark....@apple.com>
+
+        Speculative build fix for Windows port.
+        https://bugs.webkit.org/show_bug.cgi?id=224243
+        rdar://75883248
+
+        Reviewed by Saam Barati.
+
+        Source/cmake/tools/scripts/auto-version.pl was limiting our `minor` and `micro`
+        version to only 2 decimal digits only.  In practice, we can use up to 3 digits.
+
+        * Source/cmake/tools/scripts/auto-version.pl:
+        (packTwoValues):
+
 2021-04-05  Alex Christensen  <achristen...@webkit.org>
 
         Resurrect Mac CMake build

Modified: trunk/Source/cmake/tools/scripts/auto-version.pl (275540 => 275541)


--- trunk/Source/cmake/tools/scripts/auto-version.pl	2021-04-06 19:42:13 UTC (rev 275540)
+++ trunk/Source/cmake/tools/scripts/auto-version.pl	2021-04-06 19:42:57 UTC (rev 275541)
@@ -8,7 +8,7 @@
 use Cwd 'abs_path';
 use Win32;
 
-# Copyright (C) 2007, 2009, 2014 Apple Inc.  All rights reserved.
+# Copyright (C) 2007-2021 Apple Inc.  All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -122,7 +122,7 @@
     my $first = shift;
     my $second = shift;
 
-    die "First version component ($first) is too large. Must be between 0 and 99" if ($first > 99);
+    die "First version component ($first) is too large. Must be between 0 and 999" if ($first > 999);
     die "Second version component ($second) is too large. Must be between 0 and 999" if ($second > 999);
 
     return $first * 1000 + $second;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to