View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004278 | unreal | installing | public | 2014-03-14 01:14 | 2014-03-14 01:14 |
Reporter | peterkingalexander | Assigned To | syzop | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86 | OS | osx | OS Version | 10.6.8 |
Product Version | 3.2.10.1 | ||||
Fixed in Version | 3.2.10.2 | ||||
Summary | 0004278: s_bsd.c / setpgrp -- not fixed | ||||
Description | i couldn't add a comment to http://bugs.unrealircd.org/view.php?id=3638 so i've seen no other way than to open a new one. anyway despite the linked report says fixed it's not. it just happened to me with 3.2.10.1 and i can confirm that changing it to setpgid seems to solve it. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
I see. That means that the #if [..] defined(OSXTIGER) isn't triggering (a few above the problematic code line). It should be defined in sys.h by: /* * Mac OS X Tiger Support (Intel Only) */ #if defined(macosx) || (defined(__APPLE__) && defined(__MACH__)) #define OSXTIGER #endif So apparently these macro's are not triggering the #define OSXTIGER, or at least not in the version you are using (10.6.8). Probably something easy. |
|
there is no sys.h on osx and grepping through the usual places did not reveal any occurance of OSXTIGER either. i'd think just checking for __APPLE__ and using setpgid in those cases should do it. EDIT: just checked on freebsd 9 and there it's fine with clang. |
|
sys.h in include/ in UnrealIRCd :) Could you check if changing the line in include/sys.h from: #if defined(macosx) || (defined(__APPLE__) && defined(__MACH__)) to: #if defined(macosx) || defined(__APPLE__) fixes things? (+restore the original code in src/s_bsd.c of course) I can't see any other reason for __APPLE__ to be defined, so it's probably safe. |
|
>> sys.h in include/ in UnrealIRCd :) oh lol, that's what using foss stuff on non-linux did to my thinking ;-P >> Could you check if changing the line in include/sys.h ... that did the job indeed. however OSXTIGER might not be an appropriate term anymore ^^ |
|
still present in in 3.2.10.2 |
|
Ah yes, just silly that wasn't put in yet. Will be part of the updated 3.2.10.2. http://hg.unrealircd.com/hg/unreal/rev/90da005ec35a Changelog: Fix for OS X so it can actually compile. Reported by QIXOZL (0004236). |
|
3.2.10.2 has been updated with this + the c-ares fix. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-14 01:14 | peterkingalexander | New Issue | |
2014-03-14 01:14 | peterkingalexander | Issue generated from: 0004236 |