Changeset 33977 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Nov 11, 2010 11:42:07 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67639
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c
r33540 r33977 54 54 else 55 55 #endif /* DARWIN */ 56 #ifdef VBOX 57 snprintf ( path, sizeof(path), "%s%sspu%s", DLL_PREFIX, name, DLL_SUFFIX ); 58 #else 56 59 sprintf ( path, "%s%sspu%s", DLL_PREFIX, name, DLL_SUFFIX ); 60 #endif 57 61 } 58 62 else 59 63 { 64 #ifdef VBOX 65 snprintf ( path, sizeof(path), "%s/%s%sspu%s", dir, DLL_PREFIX, name, DLL_SUFFIX ); 66 #else 60 67 sprintf ( path, "%s/%s%sspu%s", dir, DLL_PREFIX, name, DLL_SUFFIX ); 68 #endif 61 69 } 62 70 return path; -
trunk/src/VBox/GuestHost/OpenGL/util/process.c
r30598 r33977 148 148 /* pipe output of ps to temp file */ 149 149 #ifndef SunOS 150 # ifdef VBOX 151 snprintf(command, sizeof(command), "ps > %s", tmp); 152 # else 150 153 sprintf(command, "ps > %s", tmp); 151 #else 154 # endif 155 #else 156 # ifdef VBOX 157 snprintf(command, sizeof(command), "ps -e -o 'pid tty time comm'> %s", tmp); 158 # else 152 159 sprintf(command, "ps -e -o 'pid tty time comm'> %s", tmp); 160 # endif 153 161 #endif 154 162 system(command);
Note:
See TracChangeset
for help on using the changeset viewer.