VirtualBox

Ignore:
Timestamp:
Apr 2, 2007 11:23:02 AM (18 years ago)
Author:
vboxsync
Message:

IPC doesn't depend on SUPLib, so don't initialize it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcLog.cpp

    r1 r1854  
    119119#ifdef VBOX
    120120    // initialize VBox Runtime
    121     RTR3Init();
    122    
     121    RTR3Init(false);
     122
    123123    PL_strncpyz(ipcLogPrefix, prefix, sizeof(ipcLogPrefix));
    124124#else
     
    127127        PL_strncpyz(ipcLogPrefix, prefix, sizeof(ipcLogPrefix));
    128128    }
    129 #endif       
     129#endif
    130130}
    131131
     
    142142        nb = strlen(ipcLogPrefix);
    143143        if (nb > sizeof(buf) - 2)
    144             nb = sizeof(buf) - 2; 
     144            nb = sizeof(buf) - 2;
    145145        PL_strncpy(buf, ipcLogPrefix, nb);
    146146        buf[nb++] = ' ';
     
    149149    if (ipcLogPrefix[0])
    150150        nb = WritePrefix(buf, sizeof(buf));
    151 #endif   
     151#endif
    152152
    153153    PR_vsnprintf(buf + nb, sizeof(buf) - nb, fmt, ap);
     
    158158#else
    159159    fwrite(buf, strlen(buf), 1, stdout);
    160 #endif   
     160#endif
    161161
    162162    va_end(ap);
     
    172172
    173173        ln = 0;
    174        
     174
    175175        p = &data[i];
    176176        for (j=0; j<PR_MIN(8, len - i); ++j, ++p)
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