Changeset 11903 in vbox for trunk/src/libs
- Timestamp:
- Sep 1, 2008 9:17:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp
r11892 r11903 600 600 const char *home = getenv("VBOX_PROGRAM_PATH"); 601 601 if (home) { 602 rc = RTR3InitWithProgramPath(home); 602 size_t len = strlen(home); 603 char *exepath = (char *)alloca(len + 32); 604 memcpy(exepath, home, len); 605 memcpy(exepath + len, "/pythonfake", sizeof("/pythonfake")); 606 rc = RTR3InitWithProgramPath(exepath); 603 607 } else { 604 608 rc = RTR3Init(); 605 609 } 606 610 #endif
Note:
See TracChangeset
for help on using the changeset viewer.