Title: [286330] trunk/Source/WebCore
- Revision
- 286330
- Author
- [email protected]
- Date
- 2021-11-30 15:43:17 -0800 (Tue, 30 Nov 2021)
Log Message
Fix Playstation build after r286171
https://bugs.webkit.org/show_bug.cgi?id=233581
unreviewed build fix.
Patch by ujwal koneru <[email protected]> on 2021-11-30
* platform/posix/SharedBufferPOSIX.cpp:
(WebCore::SharedBuffer::createFromReadingFile):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (286329 => 286330)
--- trunk/Source/WebCore/ChangeLog 2021-11-30 22:58:27 UTC (rev 286329)
+++ trunk/Source/WebCore/ChangeLog 2021-11-30 23:43:17 UTC (rev 286330)
@@ -1,3 +1,13 @@
+2021-11-30 ujwal koneru <[email protected]>
+
+ Fix Playstation build after r286171
+ https://bugs.webkit.org/show_bug.cgi?id=233581
+
+ unreviewed build fix.
+
+ * platform/posix/SharedBufferPOSIX.cpp:
+ (WebCore::SharedBuffer::createFromReadingFile):
+
2021-11-30 Gabriel Nava Marino <[email protected]>
nullptr deref in InbandChapterTrackPrivateAVFObjC::processChapters
Modified: trunk/Source/WebCore/platform/posix/SharedBufferPOSIX.cpp (286329 => 286330)
--- trunk/Source/WebCore/platform/posix/SharedBufferPOSIX.cpp 2021-11-30 22:58:27 UTC (rev 286329)
+++ trunk/Source/WebCore/platform/posix/SharedBufferPOSIX.cpp 2021-11-30 23:43:17 UTC (rev 286330)
@@ -60,7 +60,7 @@
size_t totalBytesRead = 0;
ssize_t bytesRead;
- while ((bytesRead = read(fd, buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0)
+ while ((bytesRead = ::read(fd, buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0)
totalBytesRead += bytesRead;
close(fd);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes