Change env var name
Tim Bunce [Wed, 26 Sep 2012 13:35:37 +0000 (22:35 +0900)]
Size.xs

diff --git a/Size.xs b/Size.xs
index 2d4f39b..2c9dfba 100644 (file)
--- a/Size.xs
+++ b/Size.xs
@@ -1290,8 +1290,8 @@ new_state(pTHX)
     check_new(st, &PL_sv_placeholder);
 #endif
 #ifdef PATH_TRACKING
-    if (getenv("MEMNODES") && *getenv("MEMNODES")) { /* XXX quick hack */
-        st->node_stream_name = getenv("MEMNODES");
+    if (getenv("MEMVIEW") && *getenv("MEMVIEW")) { /* XXX quick hack */
+        st->node_stream_name = getenv("MEMVIEW");
         if (*st->node_stream_name == '|')
             st->node_stream_fh = popen(st->node_stream_name+1, "w");
         else