Don't assume process IDs fit in int.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Oct 2012 04:35:39 +0000 (21:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Oct 2012 04:35:39 +0000 (21:35 -0700)
commit69deda53a85df68656b62acdd45662101fef58b7
tree7cbc1a516f7cbbc046c88e6a8ee4d34695404135
parent39ff2cf3c6cd38baf66c8c7c7ffc5b1f11a52528
Don't assume process IDs fit in int.

* emacs.c (shut_down_emacs) [!DOS_NT]:
* sysdep.c (sys_suspend) [SIGTSTP && !MSDOS]:
* term.c (dissociate_if_controlling_tty) [!DOS_NT]:
Use pid_t, not int, to store process IDs, as 'int'
is not wide enough on a few platforms (e.g., AIX and IRIX).
src/ChangeLog
src/emacs.c
src/sysdep.c
src/term.c