Re: [PATCH] add #if defined(JOB_CONTROL) around job_control in execute_c
From:
Chet Ramey
Subject:
Re: [PATCH] add #if defined(JOB_CONTROL) around job_control in execute_cmd.c
Date:
Thu, 30 Jun 2011 09:04:35 -0400
User-agent:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
On 6/30/11 7:56 AM, Thomas Cort wrote:
> Hello,
>
> In bash-4.2 in execute_cmd.c there is a usage of job_control that
> isn't enclosed in "#if defined(JOB_CONTROL)" / "#endif". This causes a
> compile failure on Minix since job_control is only defined if
> JOB_CONTROL is defined. Patch attached.
Thanks for the report. There's actually more that needs to be bracketed
with JOB_CONTROL, but this is enough to get you going.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/