From 8c7499bdfa85657ea6c2517ada0ef4a4db489beb Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Sat, 23 Sep 2000 01:36:53 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_1'. --- print/ghostscript8/files/patch-ad | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 print/ghostscript8/files/patch-ad (limited to 'print/ghostscript8/files/patch-ad') diff --git a/print/ghostscript8/files/patch-ad b/print/ghostscript8/files/patch-ad deleted file mode 100644 index 943abecaa755..000000000000 --- a/print/ghostscript8/files/patch-ad +++ /dev/null @@ -1,15 +0,0 @@ -This patch replaces the use of the dangerous mktemp/fopen combo -with the safe mkstemp/fdopen. - - -mi - ---- src/gp_unifs.c Thu Mar 9 03:40:41 2000 -+++ src/gp_unifs.c Wed Jul 19 09:56:42 2000 -@@ -71,4 +71,5 @@ - strcat(fname, "XXXXXX"); -- mktemp(fname); -- return fopen(fname, mode); -+ len = mkstemp(fname); /* reuse the no longer needed variable */ -+ if (len == -1) return NULL; -+ return fdopen(len, mode); - } -- cgit v1.2.3