Committed in SVN revision 1167615.
Keep 'em coming! ;-)
Tim
The following patch has been part of Slackware since June 2007. I checked svn and do not see the same patch being applied. Here is the text from the Slackware change log:
kde/kdelibs-3.5.7-i486-2.tgz: Patched to call utempter in the proper location and with the right arguments. Thanks to Ken Milmore for the patch.
I hope this helps.
======================================== diff -Naur kdelibs-3.5.7.orig/kdecore/kpty.cpp kdelibs-3.5.7/kdecore/kpty.cpp --- kdelibs-3.5.7.orig/kdecore/kpty.cpp 2006-05-22 19:14:21.000000000 +0100 +++ kdelibs-3.5.7/kdecore/kpty.cpp 2007-06-10 14:08:18.000000000 +0100 @@ -401,7 +401,9 @@ #ifdef HAVE_UTEMPTER KProcess_Utmp utmp; utmp.cmdFd = d->masterFd;
- utmp << "/usr/sbin/utempter" << "-a" << d->ttyName << "";
- utmp << "/usr/lib/utempter/utempter" << "add";
- if (remotehost)
utmp.start(KProcess::Block); Q_UNUSED(user); Q_UNUSED(remotehost);utmp << remotehost;
@@ -444,7 +446,7 @@ #ifdef HAVE_UTEMPTER KProcess_Utmp utmp; utmp.cmdFd = d->masterFd;
- utmp << "/usr/sbin/utempter" << "-d" << d->ttyName;
- utmp << "/usr/lib/utempter/utempter" << "del"; utmp.start(KProcess::Block);
#elif defined(USE_LOGIN) const char *str_ptr = d->ttyName.data(); ========================================