From d03491792ccf969e1dbdb4a1ae8aa7c69ab7fe78 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sat, 19 Dec 2009 23:23:05 -0500 Subject: [PATCH] On Windows, don't use _strdup directly because Borland C does not provide _strdup. SVN-Revision: 1765 --- tar/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tar/tree.c b/tar/tree.c index 5cd6cadf4..6504ebf7d 100644 --- a/tar/tree.c +++ b/tar/tree.c @@ -220,7 +220,7 @@ tree_push(struct tree *t, const char *path) te->name = strdup(path); #elif defined(_WIN32) && !defined(__CYGWIN__) te->symlink_parent_path = NULL; - te->name = _strdup(path); + te->name = strdup(path); #endif te->flags = needsDescent | needsOpen | needsAscent; te->dirname_length = t->dirname_length; -- 2.47.3