Changeset 97640 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Nov 21, 2022 6:09:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ClientWatcher.cpp
r97639 r97640 213 213 pid, pid, Status.iStatus, Status.iStatus)); 214 214 break; 215 case RTPROCEXITREASON_SIGNAL: 215 case RTPROCEXITREASON_SIGNAL: 216 /** @todo Move this into IPRT to e.g. RTProcSigToStr()? */ 216 217 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 217 LogRel(("Reaper: Pid %d (%x) was signalled: (%d / %#x)\n", pid, pid, Status.iStatus, Status.iStatus)); 218 #else /** @todo Move this to IPRT? */ 218 const char *pszSig = ""; 219 #elif defined(RT_OS_DARWIN) /** @todo Move this to IPRT? */ 220 const char *pszSig = strsignal(Status.iStatus); /* Not quite the same, but better than nothing. */ 221 #else /* Linux / UNIX */ 219 222 # if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 32) 220 223 const char *pszSig = sigabbrev_np(Status.iStatus); 221 224 # else /* glibc < 2.32 */ 222 const char *pszSig = strsignal(Status.iStatus); /* Not quite the same, but better than nothing. */225 const char *pszSig = strsignal(Status.iStatus); /* Ditto. */ 223 226 # endif /* __GLIBC_PREREQ */ 227 #endif 224 228 LogRel(("Reaper: Pid %d (%x) was signalled: %s (%d / %#x)\n", 225 229 pid, pid, pszSig, Status.iStatus, Status.iStatus)); 226 #endif227 230 break; 228 231 }
Note:
See TracChangeset
for help on using the changeset viewer.