summaryrefslogtreecommitdiff
path: root/bdftopcf.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-03 00:21:36 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-03 00:21:36 -0800
commiteb5013a55e7229979e5f46e627553e6121c2fca1 (patch)
tree047709f4490976756b2f52baa075b6b5576bb4ca /bdftopcf.c
parentb6371ad6463cdc0c35e7ca5a34f1bd6d945266ec (diff)
Use remove() instead of unlink() to remove files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'bdftopcf.c')
-rw-r--r--bdftopcf.c2
1 files changed, 1 insertions, 1 deletions
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 : "<stdout>");
if (output_name)
- unlink(output_name);
+ remove(output_name);
exit(1);
}
else