core: Prepare for conversion to pointer cells.

* src/posix.c (execl_): Prepare for conversion to pointer cells.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-05-19 09:11:29 +02:00
parent 96809cadf1
commit a25dff6837
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -305,7 +305,8 @@ execl_ (SCM file_name, SCM args) /*:((name . "execl")) */
while (args != cell_nil)
{
assert_msg (TYPE (CAR (args)) == TSTRING, "TYPE (CAR (args)) == TSTRING");
c_argv[i] = CSTRING (CAR (args));
SCM arg = CAR (args);
c_argv[i] = CSTRING (arg);
i = i + 1;
args = CDR (args);
if (g_debug > 2)