summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-03-05 07:13:12 +0000
committerPaul Smith <psmith@gnu.org>1999-03-05 07:13:12 +0000
commita6a9ebb54f67cb13a07dd3b815c258ae8c35b3ac (patch)
treecb34f435ff0d7400690485733f42e2335d4d163f /dir.c
parent9e6ba6a148aa6e4a6aed496d91bac44323325445 (diff)
downloadgunmake-a6a9ebb54f67cb13a07dd3b815c258ae8c35b3ac.tar.gz
* Define and use xstrdup() instead of strdup().
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
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;
/*