[exim-dev] ulong in exim_monitor/em_menu.c

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Richard Clayton
Data:  
Para: exim-dev
Asunto: [exim-dev] ulong in exim_monitor/em_menu.c

in exim_monitor/em_menu.c

 635       text_showf(text, "Format error in spool file %s: size=%lu\n", buffer,
 636         (ulong)statbuf.st_size);


sadly, when I compile with clang on FreeBSD "ulong" does not exist

changing ulong to unsigned long makes my compiler happy, I cannot
speak for others...

this is the only use of ulong in the Exim source, and appears to have
been introduced 2019-09-29 "tidying" ... and was not removed (when
perhaps it might have been) by 2020-06-27 "Remove attempts to quieten
compiler static-checking"

the FreeBSD package fixed it by patch r526980 (see comment #8)

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242518


but since I compile from source that's little consolation

-- 
richard                                                   Richard Clayton


Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety. Benjamin Franklin 11 Nov 1755