diff options
| author | Michael Haro <mharo@FreeBSD.org> | 2000-03-31 23:45:43 +0000 |
|---|---|---|
| committer | Michael Haro <mharo@FreeBSD.org> | 2000-03-31 23:45:43 +0000 |
| commit | 20634b45b2a97ae3f28d9d073f7d44b03308b37d (patch) | |
| tree | db5292a253d2eb1caecf2e1d067cdddb310e735b /graphics/tiff/files/patch-af | |
| parent | Allow postfix to be built on FreeBSD-5.x (-CURRENT). These patches (diff) | |
update to 3.5.5
PR: 17717
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=27203
Diffstat (limited to 'graphics/tiff/files/patch-af')
| -rw-r--r-- | graphics/tiff/files/patch-af | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/tiff/files/patch-af b/graphics/tiff/files/patch-af new file mode 100644 index 000000000000..456bc825d9ec --- /dev/null +++ b/graphics/tiff/files/patch-af @@ -0,0 +1,12 @@ +--- tools/fax2ps.c.orig Wed Mar 29 13:22:33 2000 ++++ tools/fax2ps.c Sat Apr 1 00:00:00 2000 +@@ -382,8 +382,7 @@ + char temp[1024], buf[16*1024]; + + strcpy(temp, "/tmp/fax2psXXXXXX"); +- (void) mktemp(temp); +- fd = fopen(temp, "w"); ++ fd = fdopen(mkstemp(temp), "w+"); + if (fd == NULL) { + fprintf(stderr, "Could not create temp file \"%s\"\n", temp); + exit(-2); |
