Changeset 4106 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd/shared
- Timestamp:
- Aug 10, 2007 9:37:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcConfig.cpp
r3372 r4106 70 70 bufLen -= (sizeof(kDefaultSocketPrefix) - 1); 71 71 72 logName = PR_GetEnv(" LOGNAME");72 logName = PR_GetEnv("VBOX_IPC_SOCKETID"); 73 73 if (!logName || !logName[0]) { 74 logName = PR_GetEnv(" USER");74 logName = PR_GetEnv("LOGNAME"); 75 75 if (!logName || !logName[0]) { 76 LOG(("could not determine username from environment\n")); 77 goto end; 76 logName = PR_GetEnv("USER"); 77 if (!logName || !logName[0]) { 78 LOG(("could not determine username from environment\n")); 79 goto end; 80 } 78 81 } 79 82 }
Note:
See TracChangeset
for help on using the changeset viewer.