Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/xdvik/files: xdvik-22.84.16-open-mode.patch
Date: Sat, 03 Oct 2009 09:32:33
Message-Id: E1Mu0yd-0005zG-Jy@stork.gentoo.org
1 aballier 09/10/03 09:32:31
2
3 Added: xdvik-22.84.16-open-mode.patch
4 Log:
5 version bump, drop cjk patches they cause more harm than good
6 (Portage version: 2.2_rc42/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-text/xdvik/files/xdvik-22.84.16-open-mode.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch?rev=1.1&content-type=text/plain
13
14 Index: xdvik-22.84.16-open-mode.patch
15 ===================================================================
16 diff -pruN xdvik-22.84.14.orig/texk/xdvik/util.c xdvik-22.84.14/texk/xdvik/util.c
17 --- xdvik-22.84.14.orig/texk/xdvik/util.c 2009-09-02 21:30:39.812675433 +0200
18 +++ xdvik-22.84.14/texk/xdvik/util.c 2008-05-03 21:45:10.000000000 +0200
19 @@ -273,7 +273,7 @@ try_open_mode(const char *fname, int fla
20 int fd = open(fname, flags, mode);
21 if (fd < 0 && (errno == EMFILE || errno == ENFILE)) {
22 close_a_file();
23 - fd = open(fname, flags);
24 + fd = open(fname, flags, mode);
25 }
26 return fd;
27 }