- Timestamp:
- Jul 25, 2011, 2:36:02 PM (14 years ago)
- Location:
- trunk/src/corelib/io
- Files:
-
- 3 edited
-
qprocess.cpp (modified) (2 diffs)
-
qprocess_os2.cpp (modified) (4 diffs)
-
qprocess_p.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qprocess.cpp
r902 r911 971 971 qDebug("QProcessPrivate::canWrite(), not writing anything (empty write buffer)."); 972 972 #endif 973 974 975 976 973 977 return false; 974 978 } … … 1122 1126 flushPipeWriter(); 1123 1127 #endif 1128 1129 1130 1131 1132 1124 1133 destroyPipe(stdinChannel.pipe); 1134 1125 1135 } 1126 1136 -
trunk/src/corelib/io/qprocess_os2.cpp
r902 r911 553 553 pipe.server = HPIPE(~0); 554 554 pipe.client = HFILE(~0); 555 555 556 556 557 // we need the process identifier to guarantee pipe name unicity … … 612 613 void QProcessPrivate::destroyPipe(Channel::Pipe &pipe) 613 614 { 615 616 614 617 if (pipe.client != ~HFILE(~0)) { 615 618 DosClose(pipe.client); … … 634 637 channel.pipe.server = HPIPE(~0); 635 638 channel.pipe.client = HFILE(~0); 639 636 640 637 641 if (&channel == &stderrChannel && processChannelMode == QProcess::MergedChannels) { … … 1342 1346 } 1343 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1344 1365 qint64 QProcessPrivate::writeToStdin(const char *data, qint64 maxlen) 1345 1366 { -
trunk/src/corelib/io/qprocess_p.h
r846 r911 118 118 pipe.server = HPIPE(~0); 119 119 pipe.client = HFILE(~0); 120 120 121 #else 121 122 pipe[0] = INVALID_Q_PIPE; … … 155 156 HPIPE server; 156 157 HFILE client; 158 157 159 }; 158 160 Pipe pipe; … … 243 245 void uninit(); 244 246 void ensureWaitSem(); 247 245 248 #endif 246 249
Note:
See TracChangeset
for help on using the changeset viewer.
