Changeset 171084 in webkit


Ignore:
Timestamp:
Jul 14, 2014, 2:37:21 PM (11 years ago)
Author:
commit-queue@webkit.org
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 <clopez@igalia.com> on 2014-07-14
Reviewed by Darin Adler.

  • Platform/unix/SharedMemoryUnix.cpp:

(WebKit::SharedMemory::create): Print the string describing the error number (errno).

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r171080 r171084  
     12014-07-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        [UNIX] Log error description when failing to create shared memory file.
     4        https://bugs.webkit.org/show_bug.cgi?id=134892
     5
     6        Reviewed by Darin Adler.
     7
     8        * Platform/unix/SharedMemoryUnix.cpp:
     9        (WebKit::SharedMemory::create): Print the string describing the error number (errno).
     10
    1112014-07-14  Benjamin Poulain  <benjamin@webkit.org>
    212
  • trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp

    r167128 r171084  
    117117    }
    118118    if (fileDescriptor == -1) {
    119         WTFLogAlways("Failed to create shared memory file %s", tempName.data());
     119        WTFLogAlways("Failed to create shared memory file %s: %s", tempName.data(), strerror(errno));
    120120        return 0;
    121121    }
Note: See TracChangeset for help on using the changeset viewer.