Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Chet Ramey
On 10/27/15 8:44 AM, Gniourf gniourf wrote: > and ulimit --help has the same problem too… Fixed that already, too. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Gniourf gniourf
and ulimit --help has the same problem too… On 10/27/2015 01:25 PM, Greg Wooledge wrote: On Tue, Nov 10, 2015 at 04:32:26PM +0800, ziyunfei wrote: Nothing to say? >From subject: "bash-4.4-beta hangs when running 'set --help'" I can confirm this on HP-UX 10.20. Not only hangs: it consumes

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Chet Ramey
On 11/10/15 3:32 AM, ziyunfei wrote: > Thanks for the report. This will be fixed in the next release of bash. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cw

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Piotr Grzybowski
diff --git a/builtins/set.def b/builtins/set.def index f582a41..c585fa5 100644 --- a/builtins/set.def +++ b/builtins/set.def @@ -653,6 +653,9 @@ set_builtin (list) { switch (flag_name) { + case GETOPT_HELP: +builtin_usage (); +return (EX_USAGE); case 'i':

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Piotr Grzybowski
loops forever: set_builtin at ./set.def:654 652 while ((flag_name = internal_getopt (list, optflags)) != -1) 654 switch (flag_name) cheers, pg On Tue, Oct 27, 2015 at 1:25 PM, Greg Wooledge wrote: > On Tue, Nov 10, 2015 at 04:32:26PM +0800, ziyunfei wrote: >> >> >> > > Noth

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Greg Wooledge
On Tue, Nov 10, 2015 at 04:32:26PM +0800, ziyunfei wrote: > > > Nothing to say? >From subject: "bash-4.4-beta hangs when running 'set --help'" I can confirm this on HP-UX 10.20. Not only hangs: it consumes all available CPU and does not die to SIGTERM. (SIGKILL worked.)