From 588da9812e055fbceb900c350ab406f97eccbf37 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 21 Jul 1999 05:53:23 +0000 Subject: * Add configure option to enable dmalloc library. * Various code cleanups. --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index f93a9ba..9812f92 100644 --- a/dir.c +++ b/dir.c @@ -772,7 +772,7 @@ file_impossible (filename) new = (struct dirfile *) xmalloc (sizeof (struct dirfile)); new->next = dir->contents->files[hash]; dir->contents->files[hash] = new; - new->name = savestring (filename, strlen (filename)); + new->name = xstrdup (filename); new->impossible = 1; } -- cgit v1.2.3