- Timestamp:
- Jan 16, 2009 4:51:34 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r15994 r16000 102 102 * (when loading a newly created settings file, validation will be turned off) 103 103 */ 104 static const char DefaultMachineConfig[] =104 static const char gDefaultMachineConfig[] = 105 105 { 106 106 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" RTFILE_LINEFEED … … 5803 5803 { 5804 5804 vrc = RTFileWrite (mData->mHandleCfgFile, 5805 (void *) DefaultMachineConfig,5806 s izeof (DefaultMachineConfig), NULL);5805 (void *) gDefaultMachineConfig, 5806 strlen (gDefaultMachineConfig), NULL); 5807 5807 } 5808 5808 if (RT_FAILURE (vrc)) -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r15366 r16000 200 200 vrc = RTFileWrite (handle, 201 201 (void *) gDefaultGlobalConfig, 202 s izeof(gDefaultGlobalConfig), NULL);202 strlen (gDefaultGlobalConfig), NULL); 203 203 if (RT_FAILURE (vrc)) 204 204 {
Note:
See TracChangeset
for help on using the changeset viewer.