Subject: bug#22065: core dumped during compilation (emacs-25 branch on FreeBSD 9)

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 26 Dec 2015 22:22:37 +0100

Joseph Mingrone <[email-masked]> writes:

> sysdep.c: In function 'list_system_processes':
> sysdep.c:2775: warning: comparison is always true due to limited range of data type
> sysdep.c:2775: warning: comparison is always true due to limited range of data type
> sysdep.c: In function 'system_process_attributes':
> sysdep.c:3366: warning: comparison is always true due to limited range of data type
> sysdep.c:3366: warning: comparison is always true due to limited range of data type
> sysdep.c:3374: warning: comparison is always true due to limited range of data type

etc etc etc, and then temacs segfaulted.

It seems like these warnings are from lines like

      proclist = Fcons (make_fixnum_or_float (procs[i].ki_pid), proclist);
  attrs = Fcons (Fcons (Qegid, make_fixnum_or_float (proc.ki_svgid)), attrs);

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no