Changeset 477
- Timestamp:
- Jan 26, 2010, 10:23:29 PM (15 years ago)
- Location:
- trunk/src/corelib/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/corelib/io/qfile.cpp ¶
r172 r477 897 897 error = true; 898 898 } 899 // ### note: if out is a QTemporaryFile instance, rename() 900 // below will fail on some platforms (such as OS/2) because 901 // the file will remain open for writing even after close() 899 902 if (!error && !out.rename(newName)) { 900 903 error = true; -
TabularUnified trunk/src/corelib/io/qfsfileengine_os2.cpp ¶
r427 r477 420 420 } 421 421 422 bool QFSFileEngine::copy(const QString & )423 { 424 // ### Add copy code for OS/2 here425 return false;422 bool QFSFileEngine::copy(const QString &newName) 423 { 424 Q_D(QFSFileEngine); 425 return DosCopy(d->nativeFilePath, QFile::encodeName(newName), 0) == NO_ERROR; 426 426 } 427 427
Note:
See TracChangeset
for help on using the changeset viewer.