Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/corelib/io/qfsfileengine_unix.cpp

    r651 r769  
    8282             || (fileName.at(0) == QLatin1Char('/') && fileName.at(1) == QLatin1Char('/')))));
    8383}
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
     106
     107
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
    84118#endif
    85119
     
    99133                && QT_STAT(QFile::encodeName(fileName), &statBuf) == 0
    100134                && (statBuf.st_mode & S_IFMT) == S_IFREG) {
    101                 mode += "+";
     135                mode += ;
    102136            } else {
    103137                mode = "wb+";
     
    428462    ) // End TRAP
    429463    delete fm;
    430     // ### Add error reporting on failure
    431     return (err == KErrNone);
     464    if (err == KErrNone)
     465        return true;
     466    d->setSymbianError(err, QFile::CopyError, QLatin1String("copy error"));
     467    return false;
    432468#else
    433469    Q_UNUSED(newName);
     
    669705        } else if (fd == -1) {
    670706            // ### actually covers two cases: d->fh and when the file is not open
     707
     708
     709
     710
     711
     712
     713
     714
     715
     716
    671717            could_stat = (QT_STAT(nativeFilePath.constData(), &st) == 0);
    672718        } else {
     
    12711317    int extra = offset % pageSize;
    12721318
    1273     if (size + extra > (size_t)-1) {
     1319    if () {
    12741320        q->setError(QFile::UnspecifiedError, qt_error_string(int(EINVAL)));
    12751321        return 0;
Note: See TracChangeset for help on using the changeset viewer.