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

Top Page
Delete this message
Reply to this message
Author: Richard Clayton
Date:  
To: exim-dev
Subject: [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