diff options
Diffstat (limited to 'japanese/groff/files/patch-af')
-rw-r--r-- | japanese/groff/files/patch-af | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/japanese/groff/files/patch-af b/japanese/groff/files/patch-af deleted file mode 100644 index b3cfe227d5d1..000000000000 --- a/japanese/groff/files/patch-af +++ /dev/null @@ -1,19 +0,0 @@ ---- indxbib/indxbib.cc.~2~ Wed Mar 8 00:23:35 2000 -+++ indxbib/indxbib.cc Wed Mar 8 00:31:02 2000 -@@ -222,10 +222,16 @@ - else { - temp_index_file = strsave(TEMP_INDEX_TEMPLATE); - } -+#ifndef HAVE_MKSTEMP - if (!mktemp(temp_index_file) || !temp_index_file[0]) - fatal("cannot create file name for temporary file"); -+#endif - catch_fatal_signals(); -+#ifdef HAVE_MKSTEMP -+ int fd = mkstemp(temp_index_file); -+#else - int fd = creat(temp_index_file, S_IRUSR|S_IRGRP|S_IROTH); -+#endif - if (fd < 0) - fatal("can't create temporary index file: %1", strerror(errno)); - indxfp = fdopen(fd, "w"); |