[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Re: Memory issues in 1.1.1
From: |
Norbert Koch |
Subject: |
Re: [RP] Re: Memory issues in 1.1.1 |
Date: |
Sun Nov 10 23:35:03 2002 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence, i386-unknown-freebsd4.7) |
chkno <address@hidden> writes:
Hi!
> In actions.c, commenting out
> 1) the setenv entry in user_commands[] around line 76,
> 2) the setenv() definition around line 2086,
> 3) and the cmd_setenv() definition around line 2122
> make everything work again.
I've only changed the preprocessor directive:
--- /tmp/actions.c.orig Mon Nov 11 08:30:54 2002
+++ /tmp/actions.c Mon Nov 11 08:30:54 2002
@@ -2078,7 +2078,7 @@
return NULL;
}
-#if !defined(HAVE_SETENV) || !defined(setenv)
+#if !defined(HAVE_SETENV) && !defined(setenv)
/* For systems, such as Solaris, where setenv is not implemented
* in libc */
/* FIXME: overwrite has no effect in this implementation! */
After this change the system setenv is used and the behaviour pointed
out in the FIXME comment above is avoided (although it *has* an effect
on the system :-)
norbert.