Changeset 1434
- Timestamp:
- 2000-08-21T09:12:13+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/fileutil.cpp
r1426 r1434 239 239 240 240 #ifdef __WIN32__ 241 char *fromfilec = fromfile.getcstr();242 char *tofilec = tofile.getcstr();243 CopyFile (fromfilec, tofilec, FALSE);244 delete fromfilec;245 delete tofilec;246 247 #else 248 text_t cp_cmd = "cp " + fromfile + " " + tofile;249 char *cp_cmdc = cp_cmd.getcstr();250 system (cp_cmdc);251 delete cp_cmd_c 252 253 #endif 254 } 241 char *fromfilec = fromfile.getcstr(); 242 char *tofilec = tofile.getcstr(); 243 CopyFile (fromfilec, tofilec, FALSE); 244 delete fromfilec; 245 delete tofilec; 246 247 #else 248 text_t cp_cmd = "cp " + fromfile + " " + tofile; 249 char *cp_cmdc = cp_cmd.getcstr(); 250 system (cp_cmdc); 251 delete cp_cmdc; 252 253 #endif 254 }
Note:
See TracChangeset
for help on using the changeset viewer.