* posix.c (scm_convert_exec_args), dynl.c
authorGary Houston <ghouston@arglist.com>
Sun, 30 Jun 2002 19:27:18 +0000 (19:27 +0000)
committerGary Houston <ghouston@arglist.com>
Sun, 30 Jun 2002 19:27:18 +0000 (19:27 +0000)
commit2ee08a28338d2576f4ccc208933fc6ee499d8a69
tree3a0934f7f878e98b32b717028837611c1e51badc
parentfeec7802ff38487fb188946e169a04f3137f3a50
* posix.c (scm_convert_exec_args), dynl.c
(scm_make_argv_from_stringlist): static procs: 1) renamed both to
allocate_string_pointers.  2) simplified: don't reallocate the
strings, just make an array of pointers 3) avoid memory leaks on
error 4) let the procedure report errors in its own name.
Consequences: 1) the procedures now assume that SCM strings are
nul-terminated, which should always be the case.  2) Since strings
are not reallocated, it's now possible for strings passed to
dynamic-args-call to be mutated.
libguile/ChangeLog
libguile/dynl.c
libguile/posix.c