VirtualBox

Changeset 95202 in vbox for trunk


Ignore:
Timestamp:
Jun 5, 2022 8:30:14 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151710
Message:

VBoxHeadless: Reworked the signal handling for macOS to make it work right, given that processEventQueue won't return VERR_INTERRUPTED after a Ctrl-C was delivered. [build fix, adjustments] bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r95201 r95202  
    423423    for (int i = 0; i < cSegs; i++)
    424424        aSegs[i].iov_len = strlen((const char *)aSegs[i].iov_base);
    425     writev(2, aSegs, cSegs);
     425    (void)writev(2, aSegs, cSegs);
    426426# else
    427427    LogRel(("VBoxHeadless: received signal %d\n", sig)); /** @todo r=bird: This is not at all safe. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette