Ignore:
Timestamp:
Mar 18, 2010, 3:47:13 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: QProcess: Fixed: Having stderr of a started child process redirected to a pipe (which is the default) would indirectly cause an impossibility to write anything to its stdin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qprocess_os2.cpp

    r699 r700  
    134134enum
    135135{
    136     PIPE_SIZE_STDIN = 65520, // max
    137     PIPE_SIZE_STDOUT = 65520, // max
     136    PIPE_SIZE_STDIN = 655
     137    PIPE_SIZE_STDOUT = 655
    138138    PIPE_SIZE_STDERR = 4096,
    139139};
     
    547547    waitMode = Async;
    548548    waitSem = NULLHANDLE;
    549 
    550     pipeData[InPipe].bytesLeft = 0;
    551     pipeData[OutPipe].bytesLeft = 0;
    552     pipeData[ErrPipe].bytesLeft = 0;
    553549
    554550    procKey = QProcessManager::InvalidProcKey;
     
    10891085    }
    10901086
     1087
     1088
     1089
     1090
    10911091    procKey = QProcessManager::addProcess(q);
    10921092
Note: See TracChangeset for help on using the changeset viewer.