From a6a9ebb54f67cb13a07dd3b815c258ae8c35b3ac Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 5 Mar 1999 07:13:12 +0000 Subject: * Define and use xstrdup() instead of strdup(). --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 9f79a4d..f93a9ba 100644 --- a/dir.c +++ b/dir.c @@ -385,7 +385,7 @@ find_directory (name) /* Enter it in the contents hash table. */ dc->dev = st.st_dev; #ifdef WINDOWS32 - dc->path_key = strdup(w32_path); + dc->path_key = xstrdup(w32_path); dc->mtime = st.st_mtime; /* -- cgit v1.2.3