diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-11-17 12:19:22 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-11-17 12:19:22 +0000 |
commit | d615f4ca564f838b39bd8b504a3107011d951a03 (patch) | |
tree | d799b77773a040bd9f634696266507c9072dd071 /print/ghostscript-gpl/files/patch-ad | |
parent | Remove do-package target that was running "make package" in (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_2_0'.release/4.2.0
Diffstat (limited to 'print/ghostscript-gpl/files/patch-ad')
-rw-r--r-- | print/ghostscript-gpl/files/patch-ad | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/print/ghostscript-gpl/files/patch-ad b/print/ghostscript-gpl/files/patch-ad deleted file mode 100644 index 943abecaa755..000000000000 --- a/print/ghostscript-gpl/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); - } |