WebKit Bugzilla
Attachment 370062 Details for
Bug 197961
: [PlayStation] Don't call fcntl.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197961-20190516133928.patch (text/plain), 2.73 KB, created by
Ross Kirsling
on 2019-05-16 13:39:30 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Ross Kirsling
Created:
2019-05-16 13:39:30 PDT
Size:
2.73 KB
patch
obsolete
>Subversion Revision: 245399 >diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog >index 6efab37f14f640ebd5b623d98d446bfab5bcb3b4..6a2e2e698393577d8674c1b3e7d5e391a41dc0b2 100644 >--- a/Source/WTF/ChangeLog >+++ b/Source/WTF/ChangeLog >@@ -1,3 +1,13 @@ >+2019-05-16 Ross Kirsling <ross.kirsling@sony.com> >+ >+ [PlayStation] Don't call fcntl. >+ https://bugs.webkit.org/show_bug.cgi?id=197961 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * wtf/UniStdExtras.cpp: >+ (WTF::setCloseOnExec): >+ > 2019-05-16 Eike Rathke <erack@redhat.com> > > Fix memcpy() call for big endian >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index cecd9521341fa7ad17edc7cfe31bffad7fc537d1..ee11b478952f5d7c99ae74ded38c233581deeca9 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,13 @@ >+2019-05-16 Ross Kirsling <ross.kirsling@sony.com> >+ >+ [PlayStation] Don't call fcntl. >+ https://bugs.webkit.org/show_bug.cgi?id=197961 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Platform/IPC/unix/ConnectionUnix.cpp: >+ (IPC::Connection::open): >+ > 2019-05-16 Ryan Walklin <ryan@testtoast.com> > > [WPE] Rendering on a HiDPI display looks scaled up instead of rendered at 2x >diff --git a/Source/WTF/wtf/UniStdExtras.cpp b/Source/WTF/wtf/UniStdExtras.cpp >index aa34ab4bd01f3bbcc22cdfcdc0c21f43a83df1a9..403c3efb38a74f04551fb2ed7721018a5534176d 100644 >--- a/Source/WTF/wtf/UniStdExtras.cpp >+++ b/Source/WTF/wtf/UniStdExtras.cpp >@@ -32,6 +32,7 @@ namespace WTF { > > bool setCloseOnExec(int fileDescriptor) > { >+#if !PLATFORM(PLAYSTATION) > int returnValue = -1; > do { > int flags = fcntl(fileDescriptor, F_GETFD); >@@ -40,6 +41,9 @@ bool setCloseOnExec(int fileDescriptor) > } while (returnValue == -1 && errno == EINTR); > > return returnValue != -1; >+#else >+ return true; >+#endif > } > > int dupCloseOnExec(int fileDescriptor) >diff --git a/Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp b/Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp >index 4f3ab14608b4bfd2e65a04102c4d48ac5c6ad656..0f46eb090cfd743831996b9ab8117ac3903c28a1 100644 >--- a/Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp >+++ b/Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp >@@ -331,6 +331,7 @@ void Connection::readyReadHandler() > > bool Connection::open() > { >+#if !PLATFORM(PLAYSTATION) > int flags = fcntl(m_socketDescriptor, F_GETFL, 0); > while (fcntl(m_socketDescriptor, F_SETFL, flags | O_NONBLOCK) == -1) { > if (errno != EINTR) { >@@ -338,6 +339,10 @@ bool Connection::open() > return false; > } > } >+#else >+ int nonBlocking = 1; >+ setsockopt(m_socketDescriptor, 0xffff, 0x1200, &nonBlocking, 4); >+#endif > > RefPtr<Connection> protectedThis(this); > m_isConnected = true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197961
:
370062
|
370357
|
370358