]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
man/*.man: Use italic for emphasis, not bold or SHOUTING.
[nmh] / uip / mhn.c
index a3f10305b74d9e1367b2c97503e94a3ab809d15d..2867f98a8fac26cb474ef4f4381d2c33d938f393 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -370,7 +370,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));