bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Piotr Grzybowski
Subject: Re: bash-4.4-beta hangs when running 'set --help'
Date: Tue, 27 Oct 2015 14:03:43 +0100

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':     /* don't allow set -i */
            s[0] = list_opttype;
            s[1] = 'i';

sincerely,
pg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]