Changeset 11468 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Aug 18, 2008 4:59:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r10911 r11468 411 411 */ 412 412 if (!g_szrtProgramPath[0]) 413 { 413 { 414 char* envPath = getenv("VBOX_PROGRAM_PATH"); 415 if (envPath) 416 { 417 strncpy(g_szrtProgramPath, envPath, sizeof(g_szrtProgramPath)); 418 } else { 414 419 /* 415 420 * Linux have no API for obtaining the executable path, but provides a symbolic link … … 452 457 # error needs porting. 453 458 #endif 454 459 } 455 460 /* 456 461 * Convert to UTF-8 and strip of the filename.
Note:
See TracChangeset
for help on using the changeset viewer.