Title: [171084] trunk/Source/WebKit2
- Revision
- 171084
- Author
- [email protected]
- Date
- 2014-07-14 14:37:21 -0700 (Mon, 14 Jul 2014)
Log Message
[UNIX] Log error description when failing to create shared memory file.
https://bugs.webkit.org/show_bug.cgi?id=134892
Patch by Carlos Alberto Lopez Perez <[email protected]> on 2014-07-14
Reviewed by Darin Adler.
* Platform/unix/SharedMemoryUnix.cpp:
(WebKit::SharedMemory::create): Print the string describing the error number (errno).
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (171083 => 171084)
--- trunk/Source/WebKit2/ChangeLog 2014-07-14 21:29:08 UTC (rev 171083)
+++ trunk/Source/WebKit2/ChangeLog 2014-07-14 21:37:21 UTC (rev 171084)
@@ -1,3 +1,13 @@
+2014-07-14 Carlos Alberto Lopez Perez <[email protected]>
+
+ [UNIX] Log error description when failing to create shared memory file.
+ https://bugs.webkit.org/show_bug.cgi?id=134892
+
+ Reviewed by Darin Adler.
+
+ * Platform/unix/SharedMemoryUnix.cpp:
+ (WebKit::SharedMemory::create): Print the string describing the error number (errno).
+
2014-07-14 Benjamin Poulain <[email protected]>
[iOS][WK2] On rotation, RemoteLayerTreeDrawingArea renders one extra frame at the wrong orientation
Modified: trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp (171083 => 171084)
--- trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp 2014-07-14 21:29:08 UTC (rev 171083)
+++ trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp 2014-07-14 21:37:21 UTC (rev 171084)
@@ -116,7 +116,7 @@
} while (fileDescriptor == -1 && errno == EINTR);
}
if (fileDescriptor == -1) {
- WTFLogAlways("Failed to create shared memory file %s", tempName.data());
+ WTFLogAlways("Failed to create shared memory file %s: %s", tempName.data(), strerror(errno));
return 0;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes