On 11/26/12 10:12 PM, Adam Pippin wrote:
> Repeat-By:
>
> * Download a copy of bash 4.2.
> * Configure with either or both of '--disable-job-control' and
> '--enable-minimal-config'.
> * Attempt to build.
>
> Replicated on Debian and Ubuntu. Unfortunately I don't have access to any
> other family of OS at the moment to ensure this isn't related to that
> somehow, however it doesn't seem like it would be.
The job control compilation issue was fixed in patch 18 to bash-4.2. The
parse.y change to fix the pop_alias label problem is fixed in the attached
patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
*** ../bash-4.2-patched/parse.y 2012-07-08 21:53:33.000000000 -0400
--- parse.y 2012-10-14 20:20:34.000000000 -0400
***************
*** 2394,2397 ****
--- 2392,2396 ----
to consume the quoted newline and move to the next character in
the expansion. */
+ #if defined (ALIAS)
if (expanding_alias () && shell_input_line[shell_input_line_index+1] == '\0')
{
***************
*** 2404,2408 ****
goto next_alias_char; /* and get next character */
}
! else
goto restart_read;
}
--- 2403,2408 ----
goto next_alias_char; /* and get next character */
}
! else
! #endif
goto restart_read;
}