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

Changeset 97304 in webkit


Ignore:
Timestamp:
Oct 12, 2011, 2:34:38 PM (15 years ago)
Author:
mitz@apple.com
Message:

Hang beneath PluginProcessProxy::createPropertyListFile() when using a thin build
https://bugs.webkit.org/show_bug.cgi?id=69960

Reviewed by Adam Roben.

  • UIProcess/Plugins/mac/PluginProcessProxyMac.mm:

(WebKit::PluginProcessProxy::createPropertyListFile): Check for any non-zero return value
from posix_spawn() rather than for a negative return value. The old, incorrect check, caused
this function to hang in waitpid() after failing to spawn a plug-in process for a 32-bit plug-in
when WebKit2 was built for 64-bit only.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r97263 r97304  
     12011-10-12  Dan Bernstein  <mitz@apple.com>
     2
     3        Hang beneath PluginProcessProxy::createPropertyListFile() when using a thin build
     4        https://bugs.webkit.org/show_bug.cgi?id=69960
     5
     6        Reviewed by Adam Roben.
     7
     8        * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
     9        (WebKit::PluginProcessProxy::createPropertyListFile): Check for any non-zero return value
     10        from posix_spawn() rather than for a negative return value. The old, incorrect check, caused
     11        this function to hang in waitpid() after failing to spawn a plug-in process for a 32-bit plug-in
     12        when WebKit2 was built for 64-bit only.
     13
    1142011-10-12  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
    215
  • trunk/Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm

    r95901 r97304  
    9898    posix_spawnattr_destroy(&attr);
    9999
    100     if (result < 0)
     100    if (result)
    101101        return false;
    102102    int status;
Note: See TracChangeset for help on using the changeset viewer.