X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/840b3f0e45a43b8378e88c66f004b2f186662e35..21d1fd096d82870eb175efbf3ee44498e47ede58:/uip/repl.c diff --git a/uip/repl.c b/uip/repl.c index 5686b5bf..72d3ddbe 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -354,7 +354,7 @@ main (int argc, char **argv) if (ccme == -1) ccme = groupreply; - cwd = getcpy (pwd ()); + cwd = mh_xstrdup(pwd ()); if (!context_find ("path")) free (path ("./", TFOLDER)); @@ -435,7 +435,7 @@ try_it_again: context_save (); /* save the context file */ } - msg = file ? file : getcpy (m_name (mp->lowsel)); + msg = file ? file : mh_xstrdup(m_name (mp->lowsel)); if ((in = fopen (msg, "r")) == NULL) adios (msg, "unable to open");