Autore: Mike Tubby Data: To: exim-users Oggetto: [exim] Patch for Exim 4.91 compile warning
All,
When compiling Exim 4.91 on Ubuntu 16.04.5 LTS I get a gcc warning in
the USR1 signal handler:
gcc exim.c
exim.c: In function ‘usr1_handler’:
exim.c:242:1: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result [-Wunused-result]
(void)write(fd, process_info, process_info_len);
^
gcc expand.c
The following patch addresses the issue and should be safe for all
platforms: