summaryrefslogtreecommitdiff
path: root/packages/sed/sed-4.1/fchmod.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/sed/sed-4.1/fchmod.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/sed/sed-4.1/fchmod.patch')
-rw-r--r--packages/sed/sed-4.1/fchmod.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/sed/sed-4.1/fchmod.patch b/packages/sed/sed-4.1/fchmod.patch
index e69de29bb2..b5568b509b 100644
--- a/packages/sed/sed-4.1/fchmod.patch
+++ b/packages/sed/sed-4.1/fchmod.patch
@@ -0,0 +1,11 @@
+--- sed-4.1.orig/sed/execute.c
++++ sed-4.1/sed/execute.c
+@@ -670,6 +670,8 @@
+ output_file.fp = ck_mkstemp (&input->out_file_name, tmpdir, "sed");
+ free (tmpdir);
+
++ output_fd = fileno(output_file.fp);
++
+ fstat (fileno (input->fp), &st);
+ #ifdef HAVE_FCHMOD
+ fchmod (output_fd, st.st_mode);