⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 286330 in webkit


Ignore:
Timestamp:
Nov 30, 2021, 3:43:17 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Fix Playstation build after r286171
https://bugs.webkit.org/show_bug.cgi?id=233581

unreviewed build fix.

Patch by ujwal koneru <ujwal.koneru@sony.com> on 2021-11-30

  • platform/posix/SharedBufferPOSIX.cpp:

(WebCore::SharedBuffer::createFromReadingFile):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r286327 r286330  
     12021-11-30  ujwal koneru  <ujwal.koneru@sony.com>
     2
     3        Fix Playstation build after r286171
     4        https://bugs.webkit.org/show_bug.cgi?id=233581
     5
     6        unreviewed build fix.
     7
     8        * platform/posix/SharedBufferPOSIX.cpp:
     9        (WebCore::SharedBuffer::createFromReadingFile):
     10
    1112021-11-30  Gabriel Nava Marino  <gnavamarino@apple.com>
    212
  • trunk/Source/WebCore/platform/posix/SharedBufferPOSIX.cpp

    r278532 r286330  
    6161    size_t totalBytesRead = 0;
    6262    ssize_t bytesRead;
    63     while ((bytesRead = read(fd, buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0)
     63    while ((bytesRead = ::read(fd, buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0)
    6464        totalBytesRead += bytesRead;
    6565
Note: See TracChangeset for help on using the changeset viewer.