Changeset 1023


Ignore:
Timestamp:
Aug 23, 2011, 1:18:26 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Don't use mkdir(dir, 0).

This is plain wrong as it causes kLIBC to create inaccessible directories
on filesystems where kLIBC supports Unix permission bits.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/os2-g++/qplatformdefs.h

    r659 r1023  
    8888#define QT_GETCWD               ::_getcwd2 // returns the drive letter with path
    8989#define QT_CHDIR                ::_chdir2 // change the current drive if present
    90 #define QT_MKDIR(name)  ::mkdir(name,0)
     90#define QT_MKDIR
    9191#define QT_RMDIR                ::rmdir
    9292#define QT_OPEN_LARGEFILE       0
  • trunk/src/corelib/io/qtemporaryfile.cpp

    r846 r1023  
    237237                return 0;
    238238        } else if (domkdir) {
    239 #if defined(Q_OS_WIN) || defined(Q_OS_OS2)
     239#if
    240240            if (QT_MKDIR(path) == 0)
    241241#else
Note: See TracChangeset for help on using the changeset viewer.