Title: [199232] trunk/Source/WebCore
Revision
199232
Author
beid...@apple.com
Date
2016-04-08 10:21:32 -0700 (Fri, 08 Apr 2016)

Log Message

Build fix followup to http://trac.webkit.org/changeset/199230

Unreviewed.

* platform/posix/FileSystemPOSIX.cpp:
(WebCore::hardLinkOrCopyFile): Stricter POSIX systems require a umask for O_CREAT opens,
  so let's provide one.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (199231 => 199232)


--- trunk/Source/WebCore/ChangeLog	2016-04-08 16:59:35 UTC (rev 199231)
+++ trunk/Source/WebCore/ChangeLog	2016-04-08 17:21:32 UTC (rev 199232)
@@ -1,3 +1,13 @@
+2016-04-08  Brady Eidson  <beid...@apple.com>
+
+        Build fix followup to http://trac.webkit.org/changeset/199230
+
+        Unreviewed.
+
+        * platform/posix/FileSystemPOSIX.cpp:
+        (WebCore::hardLinkOrCopyFile): Stricter POSIX systems require a umask for O_CREAT opens,
+          so let's provide one.
+
 2016-04-08  Darin Adler  <da...@apple.com>
 
         Remove 14 more unnecessary uses of UsePointersEvenForNonNullableObjectArguments

Modified: trunk/Source/WebCore/platform/posix/FileSystemPOSIX.cpp (199231 => 199232)


--- trunk/Source/WebCore/platform/posix/FileSystemPOSIX.cpp	2016-04-08 16:59:35 UTC (rev 199231)
+++ trunk/Source/WebCore/platform/posix/FileSystemPOSIX.cpp	2016-04-08 17:21:32 UTC (rev 199232)
@@ -363,7 +363,7 @@
         return true;
 
     // Hard link failed. Perform a copy instead.
-    auto handle = open(fsDestination.data(), O_WRONLY | O_CREAT | O_EXCL);
+    auto handle = open(fsDestination.data(), O_WRONLY | O_CREAT | O_EXCL, 0666);
     if (handle == -1)
         return false;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to