VirtualBox

Changeset 97638 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Nov 21, 2022 5:32:21 PM (2 years ago)
Author:
vboxsync
Message:

Main/ClientWatcher: Use sigabbrev_np() instead of strsignal(), so that the Validation Kit's vsheriff can detect this easier [build fix for glibc < 2.32].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ClientWatcher.cpp

    r97637 r97638  
    220220                            const char *pszSig = sigabbrev_np(Status.iStatus);
    221221# else /* glibc < 2.32 */
    222                             const char *pszSig = sys_sigabbrev[Status.iStatus < RT_ELEMENTS(sys_sigabbrev) ? Status.iStatus : 0];
     222                            const char *pszSig = strsignal(Status.iStatus); /* Not quite the same, but better than nothing. */
    223223# endif /* __GLIBC_PREREQ */
    224224                            LogRel(("Reaper: Pid %d (%x) was signalled: %s (%d / %#x)\n",
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