how the code should be fixed.
Greetings,
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
--- ktalkd/ktalkd/find_user.cpp
+++ ktalkd/ktalkd/find_user.cpp
@@ -339,34 +339,33 @@
#else /*not PROC_FIND_USER*/
+#include utmpx.h
+
int find_user(char *name, char *tty, char *disp
Right after I sent my message I noticed this line of C code:
* Ed Schouten e...@80386.nl, 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
,
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
--- ktalkd/ktalkd/find_user.cpp
+++ ktalkd/ktalkd/find_user.cpp
@@ -339,34 +339,33 @@
#else /*not PROC_FIND_USER*/
+#include utmpx.h
+
int find_user(char *name, char *tty, char *disp) {
-struct utmp ubuf;
+struct utmpx *ubuf
* 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
-CURRENT, because the CTRL() macro has been slightly
* 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.cpp
+++ kdecore/kpty.cpp
+++ kdecore/kpty.cpp
@@ -128,9 +128,8 @@
#include kstandarddirs.h // 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_GROUP tty
%%%
Yours,
--
Ed Schouten [EMAIL PROTECTED]
WWW: http
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 rebuilt both
recently)? I can only suspect this is related to recent changes in
current
* 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!
--
Ed Schouten [EMAIL