summaryrefslogtreecommitdiff
path: root/base/gp_unifs.c
diff options
context:
space:
mode:
authorJulian Smith <jules@op59.net>2019-11-20 10:19:46 +0000
committerJulian Smith <jules@op59.net>2019-11-20 11:27:18 +0000
commit09d9c492f135ceeb6d95323c1b340b1fc03f15ad (patch)
treee8bce5acc9ef0efa0cfb855ad02f15d9c9198c77 /base/gp_unifs.c
parentd79e80b43f388d1e9dd53d86466e04bdb2e6be25 (diff)
downloadghostpdl-09d9c492f135ceeb6d95323c1b340b1fc03f15ad.tar.gz
Coverity 341108: removed special coverity comment that didn't work.
Diffstat (limited to 'base/gp_unifs.c')
-rw-r--r--base/gp_unifs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gp_unifs.c b/base/gp_unifs.c
index 75e49a109..e37bcd98a 100644
--- a/base/gp_unifs.c
+++ b/base/gp_unifs.c
@@ -128,10 +128,10 @@ gp_open_scratch_file_impl(const gs_memory_t *mem,
}
}
#else
- /* Coverity thinks that any use of mktemp() is insecure. But if we reach
- here then there is no mkstemp() alternative available, so there's not much
- we can do. So we disable Coverity SECURE_TEMP explicitly. */
- // coverity[SECURE_TEMP]
+ /* Coverity thinks that any use of mktemp() is insecure. But if we
+ reach here then there is no mkstemp() alternative available, so there's
+ not much we can do. Haven't been able to disable this - e.g. '//
+ coverity[SECURE_TEMP]' doesn't have any affect. */
mktemp(fname);
fp = gp_fopentemp(fname, mode);
#endif