On Wednesday, 6. July 2005 12:50, Michael L. Hostbaek wrote: > Michael Nottebrock (lofi) writes: > > I think this is unrelated, but if I'm reading it right kdesu should be > > currently broken on -CURRENT (and fixed by this patch). > > I confirm that kdesu is broken on -CURRENT. > > I am currently rebuilding my box, and I'll let you know if kdesu and/or > kio_sftp are working.
Note that marcus@ has posted an updated patch on freebsd-current@ in the meantime. > If kio_sftp is still not working, I'll try to remove the if(pclose(p) == > -1)... Or try the attached patch. -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
--- kioslave/sftp/ksshprocess.cpp.orig Wed Jul 6 13:10:34 2005
+++ kioslave/sftp/ksshprocess.cpp Wed Jul 6 13:15:04 2005
@@ -255,8 +255,9 @@
strerror(ferror(p)) << endl;
return UNKNOWN_VER;
}
- if( pclose(p) == -1 ) {
+ if( pclose(p) == -1 && errno != ECHILD) {
kdError(KSSHPROC) << "KSshProcess::version(): pclose failed." << endl;
+ perror("pclose");
}
buf[len] = '\0';
QString ver;
pgp6FyPlxDYB0.pgp
Description: PGP signature
_______________________________________________ kde-freebsd mailing list [email protected] http://freebsd.kde.org/mailman/listinfo/kde-freebsd
