diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-03 00:21:36 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-03 00:21:36 -0800 |
commit | eb5013a55e7229979e5f46e627553e6121c2fca1 (patch) | |
tree | 047709f4490976756b2f52baa075b6b5576bb4ca | |
parent | b6371ad6463cdc0c35e7ca5a34f1bd6d945266ec (diff) |
Use remove() instead of unlink() to remove files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | bdftopcf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |