]> diplodocus.org Git - nmh/blobdiff - uip/mhstore.c
README.manpages: Add `Common errors and subjective conventions'.
[nmh] / uip / mhstore.c
index 98e6239675592185cba448e156b67f68fa0bb014..81d30a1b3f058f7f5c9b1db1dc618be6f7eb18dd 100644 (file)
@@ -266,7 +266,7 @@ do_cache:
     /*
      * Cache the current directory before we do any chdirs()'s.
      */
-    cwd = add(pwd(), NULL);
+    cwd = mh_xstrdup(pwd());
 
     if (!context_find ("path"))
        free (path ("./", TFOLDER));