--- Begin Message ---
Subject: |
build error: WCONTINUED undeclared |
Date: |
Fri, 16 Aug 2013 14:46:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On an old redhat machine using glibc-2.2.5-44, emacs from bzr does not build
anymore:
In file included from /emacs/src/process.c:34:
/emacs/src/lisp.h:2727: warning: `debug_on_exit' is narrower than values of its
type
/emacs/src/process.c: In function `Faccept_process_output':
/emacs/src/process.c:3945: warning: comparison is always true due to limited
range of data type
/emacs/src/process.c: In function `handle_child_signal':
/emacs/src/process.c:6180: `WCONTINUED' undeclared (first use in this function)
/emacs/src/process.c:6180: (Each undeclared identifier is reported only once
/emacs/src/process.c:6180: for each function it appears in.)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#15110: build error: WCONTINUED undeclared |
Date: |
Tue, 29 Apr 2014 11:16:27 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.4
I applied the following:
*** src/process.c 2014-04-16 13:27:28 +0000
--- src/process.c 2014-04-29 15:12:36 +0000
***************
*** 6225,6231 ****
int status;
if (p->alive
! && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
{
/* Change the status of the process that was found. */
p->tick = ++process_tick;
--- 6225,6235 ----
int status;
if (p->alive
! #ifndef WCONTINUED
! && child_status_changed (p->pid, &status, WUNTRACED))
! #else
! && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
! #endif
{
/* Change the status of the process that was found. */
p->tick = ++process_tick;
--- End Message ---