Commit a57c4026 authored by Gerd Moellmann's avatar Gerd Moellmann

(malloc_initialize_hook): Handle case thet `environ'

is null.
parent aeac019e
2001-02-19 Gerd Moellmann <>
* emacs.c (malloc_initialize_hook): Handle case thet `environ'
is null.
* ralloc.c (__morecore) [!SYSTEM_MALLOC]: Move declaration
to the start of the file.
......@@ -675,7 +675,7 @@ malloc_initialize_hook ()
char **p;
for (p = environ; *p; p++)
for (p = environ; p && *p; p++)
if (strncmp (*p, "MALLOC_CHECK_=", 14) == 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment