Changeset 913 for trunk/src/corelib/io/qprocess.cpp
- Timestamp:
- Jul 28, 2011, 12:43:59 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/corelib/io/qprocess.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qprocess.cpp
r911 r913 842 842 destroyPipe(childStartedPipe); 843 843 destroyPipe(deathPipe); 844 #else845 pipeData[InPipe].bytesLeft = 0;846 pipeData[OutPipe].bytesLeft = pipeData[ErrPipe].bytesLeft = 0;847 pipeData[InPipe].newBytes = 0;848 pipeData[OutPipe].newBytes = pipeData[ErrPipe].newBytes = 0;849 844 #endif 850 845 #ifdef Q_OS_UNIX … … 1877 1872 d->stdinChannel.notifier->setEnabled(true); 1878 1873 #if defined QPROCESS_DEBUG 1879 qDebug("QProcess::writeData(%p \"%s\", %lld) == 1 (written to buffer)",1880 data, qt_prettyDebug(data, len, 16).constData(), len);1874 qDebug("QProcess::writeData(%p \"%s\", %lld) == 1 (written to buffer)", 1875 data, qt_prettyDebug(data, len, 16).constData(), len); 1881 1876 #endif 1882 1877 #if defined(Q_OS_OS2) 1883 1878 // try to write some bytes (there may be space in the pipe) 1884 d->_q_ canWrite();1879 d->_q_); 1885 1880 #endif 1886 1881 return 1; … … 1896 1891 #endif 1897 1892 #if defined(Q_OS_OS2) 1898 // try to write some bytes (there may be space in the pipe)1899 d->_q_canWrite();1893 // try to write some bytes (there may be space in the pipe) 1894 ); 1900 1895 #endif 1901 1896 return len;
Note:
See TracChangeset
for help on using the changeset viewer.
