Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
With --enable-minimal-config option to configure, compilation
of execute_cmd.c fails, since Cond, Arith, and ArithFor members
of COMMAND are not defined.
Repeat-By:
./configure --enable-minimal-config
make
Fix:
--- execute_cmd.c~ 2002-03-18 13:24:22.000000000 -0500
+++ execute_cmd.c 2002-07-23 16:04:26.000000000 -0400
@@ -286,12 +286,18 @@
{
if (currently_executing_command->type == cm_simple)
return currently_executing_command->value.Simple->line;
+#if defined (COND_COMMAND)
else if (currently_executing_command->type == cm_cond)
return currently_executing_command->value.Cond->line;
+#endif
+#if defined (DPAREN_ARITHMETIC)
else if (currently_executing_command->type == cm_arith)
return currently_executing_command->value.Arith->line;
+#endif
+#if defined (ARITH_FOR_COMMAND)
else if (currently_executing_command->type == cm_arith_for)
return currently_executing_command->value.ArithFor->line;
+#endif
else
return line_number;
}