From b9770941ae829ad2cb985efe809d6e3dd690648b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 7 Oct 2011 18:02:34 -0700 Subject: Call strdup directly, instead of via copy macro Signed-off-by: Alan Coopersmith --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index f1a093a..bb66f82 100644 --- a/main.c +++ b/main.c @@ -742,7 +742,7 @@ done: char *base_name(const char *in_file) { char *p; - char *file = copy(in_file); + char *file = strdup(in_file); for(p=file+strlen(file); p>file && *p != '.'; p--) ; if (*p == '.') -- cgit v1.2.1