core: Fix segfault on Debian/strectch. Thanks, pdewacht!

* src/posix.c (execl_): Typo in initialization.  Fixes segfault on
  Debian/strectch.  Thanks, pdewacht!
This commit is contained in:
Jan Nieuwenhuizen 2018-07-10 21:52:31 +02:00
parent 7f6676a4c2
commit f6d5578174
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -272,7 +272,7 @@ execl_ (SCM file_name, SCM args) ///((name . "execl"))
{ {
char *c_argv[1000]; // POSIX minimum 4096 char *c_argv[1000]; // POSIX minimum 4096
int i = 0; int i = 0;
int n = n; int n = 0;
if (length__ (args) > 1000) if (length__ (args) > 1000)
error (cell_symbol_system_error, error (cell_symbol_system_error,