summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/gp_os2.c')
-rw-r--r--base/gp_os2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gp_os2.c b/base/gp_os2.c
index 63c7bdb0..26a1165b 100644
--- a/base/gp_os2.c
+++ b/base/gp_os2.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
@@ -328,7 +328,7 @@ gp_close_printer(gp_file *pfile, const char *fname)
if ((strlen(fname) == 0) || is_os2_spool(fname)) {
/* spool temporary file */
pm_spool(mem, pm_prntmp, fname);
- unlink(pm_prntmp);
+ unlink(pm_prntmp); /* unlink, not gp_unlink */
}
}
@@ -590,11 +590,11 @@ bool gp_fseekable_impl(FILE *f)
{
struct stat s;
int fno;
-
+
fno = fileno(f);
if (fno < 0)
return(false);
-
+
if (fstat(fno, &s) < 0)
return(false);