tings,
--
Ed Schouten
WWW: http://80386.nl/
--- ktalkd/ktalkd/find_user.cpp
+++ ktalkd/ktalkd/find_user.cpp
@@ -339,34 +339,33 @@
#else /*not PROC_FIND_USER*/
+#include
+
int find_user(char *name, char *tty, char *disp) {
-struct utmp ubuf;
+struct utmpx *ubuf;
int status;
-
Right after I sent my message I noticed this line of C code:
* Ed Schouten , 20101102 19:20:
> if (!(statb.st_mode & 020)) /* ?character device? */
This should of course be rewritten to something like:
if (!S_ISCHR(statb.st_mode))
--
Ed S
code should be fixed.
Greetings,
--
Ed Schouten
WWW: http://80386.nl/
--- ktalkd/ktalkd/find_user.cpp
+++ ktalkd/ktalkd/find_user.cpp
@@ -339,34 +339,33 @@
#else /*not PROC_FIND_USER*/
+#include
+
int find_user(char *name, char *tty, char *disp) {
-struct utmp ubuf;
+struct
the Ports tree. Thanks!
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://80386.nl/
pgpJ8C9bpm3C0.pgp
Description: PGP signature
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
* Ed Schouten <[EMAIL PROTECTED]> wrote:
> An even better approach would be to use CKILL/CQUIT/etc. There are
> non-standard either, but it's better than using the CTRL() macro
> directly. I'll come up with a patch soonish. :)
Something like this?
%%%
--- kdecore/kpty
* Tilman Linneweh <[EMAIL PROTECTED]> wrote:
>
> On Jun 25, 2008, at 22:15, Ed Schouten wrote:
>> Would you mind if I add this patch to the kdelibs3 port? It is needed
>> to
>> make control characters work with konsole, which seems to be broken on
>> -CURREN
* Andy Fawcett <[EMAIL PROTECTED]> wrote:
> What's the effect of the patch on 6-STABLE and 7-STABLE? If it doesn't cause
> problems there, you can add it.
It will not cause any changes on the other branches. I'll commit this
patch when I arrive at the office. Thanks
KDE folks,
* Mark Atkinson <[EMAIL PROTECTED]> wrote:
> Ed Schouten wrote:
>
> > Hello Mark,
> >
> > * Mark Atkinson <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> Is anyone else running freebsd-current with kde3 (and has rebui
elibs3
port and see what happens? Thanks! :)
%%%
--- kdecore/kpty.cpp
+++ kdecore/kpty.cpp
@@ -128,9 +128,8 @@
#include // locate
// not defined on HP-UX for example
-#ifndef CTRL
-# define CTRL(x) ((x) & 037)
-#endif
+#undef CTRL
+#define CTRL(x) ((x) & 037)
#define TTY_GROU