VirtualBox

Changeset 61400 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Jun 2, 2016 9:51:53 AM (9 years ago)
Author:
vboxsync
Message:

libs/xpcom18a4: additional logging of the IPC socket path, and additionally print it to stderr, but only as part of a validation kit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcConnectionUnix.cpp

    r6884 r61400  
    4848#include "ipcLog.h"
    4949
     50#ifdef VBOX
     51# include "prenv.h"
     52# include <stdio.h>
     53#endif
     54
    5055
    5156//-----------------------------------------------------------------------------
     
    427432    goto end;
    428433
     434#ifdef VBOX
     435  if (PR_GetEnv("TESTBOX_UUID"))
     436    fprintf(stderr, "IPC socket path: %s\n", addr.local.path);
     437  LogRel(("IPC socket path: %s\n", addr.local.path));
     438#endif
     439
    429440  // make socket non-blocking
    430441  opt.option = PR_SockOpt_Nonblocking;
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