Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 07:21:10 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        ports@freebsd.org
Subject:   Fw: ports/xfce4-fm: patch for tubo.c on 5.3 Stable
Message-ID:  <20041027072110.581de0ec.lehmann@ans-netz.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Wed__27_Oct_2004_07_21_10_+0200_3+aiv650RM3hnhP=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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@mailsat.dstm.de>
To: oliver@freebsd.org, freebsd-ports-bugs@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/

--Multipart=_Wed__27_Oct_2004_07_21_10_+0200_3+aiv650RM3hnhP=
Content-Type: text/plain;
 name="patch-tubo.c"
Content-Disposition: attachment;
 filename="patch-tubo.c"
Content-Transfer-Encoding: 7bit

*** 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 ----


--Multipart=_Wed__27_Oct_2004_07_21_10_+0200_3+aiv650RM3hnhP=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041027072110.581de0ec.lehmann>