summaryrefslogtreecommitdiffstats
path: root/groff-1.18.1.1-tempfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'groff-1.18.1.1-tempfile.patch')
-rw-r--r--groff-1.18.1.1-tempfile.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/groff-1.18.1.1-tempfile.patch b/groff-1.18.1.1-tempfile.patch
deleted file mode 100644
index 0e73606..0000000
--- a/groff-1.18.1.1-tempfile.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- groff-1.18.1.1/contrib/groffer/groffer.sh.tempfile 2004-06-15 03:44:50.000000000 +0200
-+++ groff-1.18.1.1/contrib/groffer/groffer.sh 2004-10-19 13:04:35.704244526 +0200
-@@ -3228,18 +3228,13 @@
- do
- if is_not_empty "$d"; then
- if obj d is_dir && obj d is_writable; then
-- _TMP_DIR="${d}/${_PROGRAM_NAME}${_PROCESS_ID}";
-- if obj _TMP_DIR is_dir; then
-- rm -f "${_TMP_DIR}"/*;
-- break;
-- else
-- mkdir "${_TMP_DIR}";
-- if obj _TMP_DIR is_not_dir; then
-- _TMP_DIR='';
-- continue;
-- fi;
-- break;
-- fi;
-+ _TMP_DIR="`mktemp -d ${d}/${_PROGRAM_NAME}.XXXXXX`";
-+ if test $? = 0; then
-+ break;
-+ else
-+ _TMP_DIR='';
-+ continue;
-+ fi
- fi;
- if obj _TMP_DIR is_not_writable; then
- _TMP_DIR='';