[exim-dev] [Bug 927] segfault around group_list

Góra strony
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 927] segfault around group_list
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=927




--- Comment #11 from Andreas Metzler <eximusers@???> 2009-12-10 18:49:47 ---
Just for reference, the latest patch (sig_atomic_t use and getgroups() return
code checking 2009-12-09 05:48) breaks building of exim_monitor with:

------------------
cc exim_monitor/em_TextPop.c
../exim_monitor/em_TextPop.c: In function 'DoSearch':
../exim_monitor/em_TextPop.c:475: warning: cast from pointer to integer of
different size
gcc exim_monitor/em_globals.c
In file included from ../exim_monitor/em_hdr.h:104,
                 from ../exim_monitor/em_globals.c:11:
./globals.h:644: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'sigalrm_seen'
-------------------


For Christian's test package I have worked around quick and dirty by using
#ifndef DEF_OF_SIGNAL_BOOL
#define DEF_OF_SIGNAL_BOOL 1
typedef volatile sig_atomic_t SIGNAL_BOOL;
#endif

both in globals.h an exim.h.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email