VirtualBox

Ignore:
Timestamp:
Jun 5, 2022 8:33:52 PM (3 years ago)
Author:
vboxsync
Message:

VBoxHeadless: scm fixes. bugref:9898

File:
1 edited

Legend:

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

    r95202 r95204  
    416416    {
    417417        aSegs[cSegs++].iov_base = (char *)"(on thread ";
    418         aSegs[cSegs++].iov_base = (char *)pszThread;       
     418        aSegs[cSegs++].iov_base = (char *)pszThread;
    419419        aSegs[cSegs++].iov_base = (char *)")\n";
    420420    }
     
    426426# else
    427427    LogRel(("VBoxHeadless: received signal %d\n", sig)); /** @todo r=bird: This is not at all safe. */
    428 # endif   
     428# endif
    429429    g_fTerminateFE = true;
    430430}
     
    471471}
    472472
    473 /** 
     473/**
    474474 * @callback_method_impl{FNRTTHREAD, Signal wait thread}
    475475 */
     
    483483    for (unsigned i = 0; i < RT_ELEMENTS(g_aiSigs); i++)
    484484        sigaddset(&SigSetWait, g_aiSigs[i]);
    485    
     485
    486486    /* The wait + processing loop: */
    487487    for (;;)
     
    521521            RTMsgError("sigaction failed for signal #%u: %d", g_aiSigs[i], errno);
    522522    }
    523    
     523
    524524# if defined(RT_OS_DARWIN)
    525525    /*
     
    14511451#if !defined(RT_OS_WINDOWS)
    14521452        ::SetUpSignalHandlers();
    1453 #else 
     1453#else
    14541454        /*
    14551455         * Register windows console signal handler to react to Ctrl-C,
Note: See TracChangeset for help on using the changeset viewer.

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