diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2002-01-22 23:31:39 +0000 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2002-01-22 23:31:39 +0000 |
commit | c96d76b88dcb7805311d14e6e408d064211fde20 (patch) | |
tree | 08d604bcf94ceb35dd271c4c46064ed60644f5b4 /libguile/posix.c | |
parent | 229d2c9c076d214457f4f6817f7d3c1db90ed994 (diff) | |
download | guile-c96d76b88dcb7805311d14e6e408d064211fde20.tar.gz |
* First batch of libguile changes for Elisp support.
* Fixed a few typos.
* Minor rationalization of macros relating to source breakpoints.
Diffstat (limited to 'libguile/posix.c')
-rw-r--r-- | libguile/posix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c index 6e2393570..1ef46d1db 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -54,6 +54,7 @@ #include "libguile/feature.h" #include "libguile/strings.h" #include "libguile/vectors.h" +#include "libguile/lang.h" #include "libguile/validate.h" #include "libguile/posix.h" @@ -916,7 +917,7 @@ environ_list_to_c (SCM envlist, int arg, const char *proc) result = (char **) malloc ((num_strings + 1) * sizeof (char *)); if (result == NULL) scm_memory_error (proc); - for (i = 0; !SCM_NULLP (envlist); ++i, envlist = SCM_CDR (envlist)) + for (i = 0; !SCM_NULL_OR_NIL_P (envlist); ++i, envlist = SCM_CDR (envlist)) { SCM str = SCM_CAR (envlist); int len; |