[70120] trunk/base/src/pextlib1.0/Pextlib.c
jmr at macports.org
jmr at macports.org
Thu Jul 29 23:01:07 PDT 2010
Revision: 70120
http://trac.macports.org/changeset/70120
Author: jmr at macports.org
Date: 2010-07-29 23:01:04 -0700 (Thu, 29 Jul 2010)
Log Message:
-----------
this crash actually only ever happened on linux, so best not to mess with what worked OK previously, especially since this seems to be implicated in the tiger malloc errors from #25194
Modified Paths:
--------------
trunk/base/src/pextlib1.0/Pextlib.c
Modified: trunk/base/src/pextlib1.0/Pextlib.c
===================================================================
--- trunk/base/src/pextlib1.0/Pextlib.c 2010-07-30 05:47:32 UTC (rev 70119)
+++ trunk/base/src/pextlib1.0/Pextlib.c 2010-07-30 06:01:04 UTC (rev 70120)
@@ -395,10 +395,10 @@
#else
clearenv();
#endif
- /* "If the entire env array is unset then Tcl will stop monitoring
- env accesses and will not update environment variables."
- - <http://www.tcl.tk/man/tcl8.4/TclCmd/tclvars.htm#M4> */
+#ifndef __APPLE__
+ /* Crashes on Linux without this. */
setenv("MACPORTS_DUMMY", "", 0);
+#endif
} else {
(void) unsetenv(name);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100729/2d284c0f/attachment-0001.html>
More information about the macports-changes
mailing list