source: packages/utils/bash/patches/001-compile-fix.patch @ 27442

Last change on this file since 27442 was 27442, checked in by loswillios, 5 years ago

[packages] bash: update to 4.2

File size: 767 bytes
  • execute_cmd.c

    old new  
    22022202  /* If the `lastpipe' option is set with shopt, and job control is not 
    22032203     enabled, execute the last element of non-async pipelines in the 
    22042204     current shell environment. */ 
    2205   if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) 
     2205  if (lastpipe_opt && 
     2206#if defined(JOB_CONTROL) 
     2207               job_control == 0 &&  
     2208#endif 
     2209               asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) 
    22062210    { 
    22072211      lstdin = move_to_high_fd (0, 0, 255); 
    22082212      if (lstdin > 0) 
Note: See TracBrowser for help on using the repository browser.