Re: Bash: sleep execution issue with bash loadable builtins

2017-11-28 Thread Thiruvadi Rajaraman
oadables# <-> Please kindly review and suggest your comments. you suggestions and comments helps to enhance the fix and submit the same to bash gnu mainline. Thanks, Thiruvadi Rajaraman On Tue, Nov 28, 2017 at 2:09 AM, Chet Ramey <chet.ra...@case.edu> wrote: > On 11/27/17 4:17

Re: Bash: sleep execution issue with bash loadable builtins

2017-12-01 Thread Thiruvadi Rajaraman
ike it sleep for more seconds than the actual given seconds and it affects the behaviour in both background and active shell sleep process. With the attached fix, bash sleep works as expected. Please kindly review and suggest comments. Thanks, Thiruvadi Rajaraman Fixes sleep issue in bash loada

Re: Bash: sleep execution issue with bash loadable builtins

2017-12-04 Thread Thiruvadi Rajaraman
comments. Thanks, Thiruvadi Rajaraman > Fix for sleep issue in bash loadable builtins Replaced select() with pselect() and Blocked the SIGCHLD signal with sigprocmask() during the sleep process. Signed-off-by: Thiruvadi Rajaraman <trajara...@mvista.com> Index: bash-4.2/lib/sh

Bash: Issue with 'sleep' execution in bash loadable builtins

2017-12-04 Thread Thiruvadi Rajaraman
ec 4 16:04:13 IST 2017 Mon Dec 4 16:04:17 IST 2017 [1]+ Donesleep 1 bash-4.2# Please kindly review the patch and suggest comments. Thanks, Thiruvadi Rajaraman Fix for sleep issue in bash loadable builtins Replaced select() with pselect() and Blocked the SIGCHLD signal wi