bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing "#if defined (JOB_CONTROL)" line in execute_cmd.c.


From: Brooks Moses
Subject: Missing "#if defined (JOB_CONTROL)" line in execute_cmd.c.
Date: Mon, 17 Jun 2013 08:44:00 -0700

Configuration Information:
OS: linux-gnu
Compiler: gcc 4.8
Bash Version: 4.2
Release Status: release

Description, Fix:
I was just compiling bash and (due, I think, to an error on my part)
ended up with a configuration for which JOB_CONTROL was not defined.
As a result, I uncovered two bugs:

The actual blocker is that line 2205 of execute_cmd.c uses the
"job_control" variable, but is not properly guarded with an "#if
defined (JOB_CONTROL)" block.  Thus, the compilation aborts with an
undefined-variable error.

The other bug is that this file was not compiled when I ran "make"; it
only got compiled when I ran "make install".

Thanks,
- Brooks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]