diff options
Diffstat (limited to 'base/gsiodev.c')
-rw-r--r-- | base/gsiodev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/gsiodev.c b/base/gsiodev.c index 1619f46a..7b405947 100644 --- a/base/gsiodev.c +++ b/base/gsiodev.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2019 Artifex Software, Inc. +/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -305,13 +305,13 @@ iodev_os_fclose(gx_io_device * iodev, gp_file * file) static int os_delete(gx_io_device * iodev, const char *fname) { - return (unlink(fname) == 0 ? 0 : gs_error_ioerror); + return (gp_unlink(iodev->memory, fname) == 0 ? 0 : gs_error_ioerror); } static int os_rename(gx_io_device * iodev, const char *from, const char *to) { - return (rename(from, to) == 0 ? 0 : gs_error_ioerror); + return (gp_rename(iodev->memory, from, to) == 0 ? 0 : gs_error_ioerror); } static int |