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 Message-ID: <417EF2AE.7080806@mailsat.dstm.de>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040200070300050600030200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------040200070300050600030200 Content-Type: text/plain; name="patch-tubo.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-tubo.c" *** 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 ---- --------------040200070300050600030200--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417EF2AE.7080806>