FreeBSD Bugzilla – Attachment 42596 Details for
Bug 66388
[MAINTAINER] games/crossfire-client: Fix build on gcc295
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
crossfire-client-1.7.0.patch
crossfire-client-1.7.0.patch (text/plain), 1008 bytes, created by
Mark Daniel Reidel
on 2004-05-08 15:00:30 UTC
(
hide
)
Description:
crossfire-client-1.7.0.patch
Filename:
MIME Type:
Creator:
Mark Daniel Reidel
Created:
2004-05-08 15:00:30 UTC
Size:
1008 bytes
patch
obsolete
>diff -ruN --exclude=CVS /tmp/portbk/games/crossfire-client/files/patch-common-misc.c::gcc295 /usr/ports/games/crossfire-client/files/patch-common-misc.c::gcc295 >--- /tmp/portbk/games/crossfire-client/files/patch-common-misc.c::gcc295 Thu Jan 1 01:00:00 1970 >+++ /usr/ports/games/crossfire-client/files/patch-common-misc.c::gcc295 Sat May 8 15:32:54 2004 >@@ -0,0 +1,17 @@ >+--- common/misc.c.orig Sat May 8 15:31:29 2004 >++++ common/misc.c Sat May 8 15:31:49 2004 >+@@ -237,13 +237,13 @@ >+ #ifndef WIN32 >+ ChildProcess* cp=FirstChild; >+ ChildProcess* last=NULL; >++ ChildProcess* next; >+ for (;;){ >+ if (!cp) >+ return; /*no child to monitor*/ >+ if (waitpid(cp->pid,NULL,WNOHANG)){ >+ /*pid is dead*/ >+ LOG(LOG_INFO,"common::monitorChilds","Child %s died. Removing and closing pipes",cp->name?cp->name:"UNKNOWN"); >+- ChildProcess* next; >+ if (cp==LastChild) >+ LastChild=last; >+ next=cp->next;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66388
: 42596