Last KProcess commit broke things (namely K3B)

Andras Mantia amantia at kde.org
Fri Jan 16 19:20:57 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 I think this is really a showstopper after a fix for a showstopper... Without 
the attached patch (which is a revert of Ossi's fix) you cannot write data 
CD's anymore with K3B, as mkisofs will complain:
  Resource temporarily unavailable. cannot fwrite 32768*1

Took quite some time to figure out why suddenly it broken. Just for the 
record, my "patch" (the revert would be):

- --- kprocess.cpp.orig   2004-01-16 13:55:09.000000000 +0200
+++ kprocess.cpp        2004-01-16 21:14:06.000000000 +0200
@@ -907,7 +907,7 @@
     return 1;

   if (communication & Stdin) {
- -    fcntl(in[1], F_SETFL, O_NONBLOCK | fcntl(in[1], F_GETFL));
+//    fcntl(in[1], F_SETFL, O_NONBLOCK | fcntl(in[1], F_GETFL));
     innot =  new QSocketNotifier(in[1], QSocketNotifier::Write, this);
     Q_CHECK_PTR(innot);
     innot->setEnabled(false); // will be enabled when data has to be sent


But I think you all know what this is all about. I didn't know what this is 
for, but it certainly broke things.

Andras



- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFACDmeTQdfac6L/08RAtuPAKDSYbaX2G9dr3F7B/Cul0JpbgD0JgCfeWyZ
lhrtAZSgG9oKBxgEawE+s+g=
=z5e8
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list