Re: Bash-5.0-beta2 available for download

2018-11-27 Thread Chet Ramey
On 11/27/18 3:44 PM, G. Branden Robinson wrote:
> gcc -c   -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib -I.  
> -DDEBUG  -g -O2 -Wno-parentheses -Wno-format-security evalstring.c
> evalstring.c: In function ‘parse_and_execute_cleanup’:
> evalstring.c:150:7: warning: implicit declaration of function 
> ‘unfreeze_jobs_list’; did you mean ‘unfreeeze_jobs_list’? 
> [-Wimplicit-function-declaration]
>unfreeze_jobs_list ();
>^~
>unfreeeze_jobs_list

I'm going to have to give up on clang; it didn't catch that.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/



signature.asc
Description: OpenPGP digital signature


Re: Bash-5.0-beta2 available for download

2018-11-27 Thread G. Branden Robinson
gcc -c   -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib -I.  
-DDEBUG  -g -O2 -Wno-parentheses -Wno-format-security evalstring.c
evalstring.c: In function ‘parse_and_execute_cleanup’:
evalstring.c:150:7: warning: implicit declaration of function 
‘unfreeze_jobs_list’; did you mean ‘unfreeeze_jobs_list’? 
[-Wimplicit-function-declaration]
   unfreeze_jobs_list ();
   ^~
   unfreeeze_jobs_list

--- jobs.h.orig 2018-11-27 18:35:43.205649329 -0500
+++ jobs.h  2018-11-27 18:35:51.049574540 -0500
@@ -260,7 +260,7 @@
 extern void run_sigchld_trap __P((int));
 
 extern int freeze_jobs_list __P((void));
-extern void unfreeeze_jobs_list __P((void));
+extern void unfreeze_jobs_list __P((void));
 extern void set_jobs_list_frozen __P((int));
 extern int set_job_control __P((int));
 extern void without_job_control __P((void));

-- 
Regards,
Branden


signature.asc
Description: PGP signature


Re: Bash-5.0-beta2 available for download

2018-11-27 Thread Chet Ramey
On 11/27/18 2:55 PM, Andreas Schwab wrote:

> -static char *
> +static int
>  expr_skipsubscript (vp, cp)

Thanks.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/



Re: Bash-5.0-beta2 available for download

2018-11-27 Thread Andreas Schwab
Index: bash-5.0-beta2/expr.c
===
--- bash-5.0-beta2.orig/expr.c
+++ bash-5.0-beta2/expr.c
@@ -342,7 +342,7 @@ expr_bind_variable (lhs, rhs)
 #if defined (ARRAY_VARS)
 /* This is similar to the logic in arrayfunc.c:valid_array_subscript when
you pass VA_NOEXPAND. */
-static char *
+static int
 expr_skipsubscript (vp, cp)
  char *vp, *cp;
 {

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."