From eb5013a55e7229979e5f46e627553e6121c2fca1 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 3 Jan 2013 00:21:36 -0800 Subject: Use remove() instead of unlink() to remove files Signed-off-by: Alan Coopersmith --- bdftopcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdftopcf.c b/bdftopcf.c index 1deab8b..da83938 100644 --- a/bdftopcf.c +++ b/bdftopcf.c @@ -185,7 +185,7 @@ main(int argc, char *argv[]) fprintf(stderr, "%s: can't write pcf file %s\n", program_name, output_name ? output_name : ""); if (output_name) - unlink(output_name); + remove(output_name); exit(1); } else -- cgit v1.2.3