diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-09-10 17:46:52 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-09-10 17:46:52 +0000 |
commit | e44eabb12f9f9a51fa55719d09ea36bbc9053ef2 (patch) | |
tree | a8489af993f768401cf00a8b332ceab86142fd35 /app-editors/cooledit/files | |
parent | Marked ~hppa (bug #381709). (diff) | |
download | gentoo-2-e44eabb12f9f9a51fa55719d09ea36bbc9053ef2.tar.gz gentoo-2-e44eabb12f9f9a51fa55719d09ea36bbc9053ef2.tar.bz2 gentoo-2-e44eabb12f9f9a51fa55719d09ea36bbc9053ef2.zip |
Add patches for bug #267567 and bug #267536. Thanks to Frank Peters <frank.peters@comcast.net> and Helmuth Schmelzer <des-colo@hotmail.com>
(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/cooledit/files')
-rw-r--r-- | app-editors/cooledit/files/cooledit-3.17.17-copy.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-editors/cooledit/files/cooledit-3.17.17-copy.patch b/app-editors/cooledit/files/cooledit-3.17.17-copy.patch new file mode 100644 index 000000000000..862b4ec8374c --- /dev/null +++ b/app-editors/cooledit/files/cooledit-3.17.17-copy.patch @@ -0,0 +1,20 @@ +diff -crB cooledit-3.17.17/widget/editcmd.c cooledit-new/widget/editcmd.c +*** cooledit-3.17.17/widget/editcmd.c 2005-04-04 16:47:45.000000000 -0400 +--- cooledit-new/widget/editcmd.c 2009-04-25 21:56:14.000000000 -0400 +*************** +*** 214,220 **** + if (file < 0 && (flags & O_CREAT)) /* must it be created ? */ + return creat ((char *) pathname, mode); + close (file); +! return open ((char *) pathname, flags); + } + + /* "Oleg Yu. Repin" <repin@ssd.sscc.ru> added backup filenames +--- 214,220 ---- + if (file < 0 && (flags & O_CREAT)) /* must it be created ? */ + return creat ((char *) pathname, mode); + close (file); +! return open ((char *) pathname, flags, mode); + } + + /* "Oleg Yu. Repin" <repin@ssd.sscc.ru> added backup filenames |