bash-4.2 cross-compiling and job control problem

2011-09-14 Thread Maciej Grela
job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) is not protected by a "#if defined (JOB_CONTROL)" directive like all the other places in the file. I suspect this is a bug but it's the first time I'm studying bash code so I don't know if a simple fix: #if defined (JOB_CONTROL) if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) #else if (lastpipe_opt && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) #endif /* JOB_CONTROL */ will be OK in this case. What is your opinion ? Should I post a bug on Savannah or can you patch this right away ? Best regards, Maciej Grela

Re: bash-4.2, crosscompiling and job control compile failure

2011-09-14 Thread Maciej Grela
tains only imports from tarballs until 4.0, and the newest tarball is 4.2. Best regards, Maciej Grela

bash-4.2, crosscompiling and job control compile failure

2011-09-14 Thread Maciej Grela
; job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) is not protected by a "#if defined (JOB_CONTROL)" directive like all the other places in the file. I suspect this is a bug but it's the first time I'm studying bash code so I don't know if a simple fix: #if defined (JOB_CONTROL) if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) #else if (lastpipe_opt && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) #endif /* JOB_CONTROL */ will be OK in this case. What is your opinion ? Should I post a bug on Savannah or can you patch this right away ? Best regards, Maciej Grela