Fw: ports/xfce4-fm: patch for tubo.c on 5.3 Stable

Oliver Lehmann lehmann at ans-netz.de
Tue Oct 26 22:20:46 PDT 2004


Hi list,

can someone else confirm that? I'm not able to test any samba stuff here.


Begin forwarded message:

Date: Wed, 27 Oct 2004 02:58:22 +0200
From: "Wolfram A. Kraushaar" <wak at mailsat.dstm.de>
To: oliver at freebsd.org, freebsd-ports-bugs at FreeBSD.org
Subject: ports/xfce4-fm: patch for tubo.c on 5.3 Stable


Hello,

it seems the FreeBSD patch (included in the xfce sources)
for tubo.c breaks xfsamba functionality in the same way
it has resolved before in earlier versions of FreeBSD.
(sorry for this weird english ;-))

Bug of earlier FreeBSD versions described at:
http://bugzilla.xfce.org/show_bug.cgi?id=57
(zombie/100% processor load at nmblookup -M -- -)

removing the "#ifdef __FreeBSD__" part of tubo.c fixed the
issue on my FreeBSD 5.3 STABLE box with samba 3.0.7 and
xfce-fm-4.0.6

attached is a patch to revert the changes for FreeBSD 5.3
Stable.

--
Wolfram



-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
-------------- next part --------------
*** libs/tubo.c.orig	Mon Dec 29 21:43:25 2003
--- libs/tubo.c	Wed Oct 27 02:24:00 2004
***************
*** 300,308 ****
      fork_struct *forkO;
      int status;
      forkO = (fork_struct *) ((long)fork_object);
- #ifdef	__FreeBSD__
-     if (kill(forkO->childPID,SIGCONT) == 0) return TRUE;
- #endif
      waitpid(forkO->childPID, &status, WNOHANG);
      if(WIFEXITED(status) || WIFSIGNALED(status))
      {
--- 300,305 ----



More information about the freebsd-ports mailing list