From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5/files: hdf5-gcc4.3.3-fix.patch |
Date: | Wed, 04 Feb 2009 13:46:29 |
Message-Id: | E1LUi5D-0007CB-9N@stork.gentoo.org |
1 | patrick 09/02/04 13:46:27 |
2 | |
3 | Added: hdf5-gcc4.3.3-fix.patch |
4 | Log: |
5 | fortify_sources fix, patch from Simon C. Ion, closes #257177 |
6 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-libs/hdf5/files/hdf5-gcc4.3.3-fix.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/files/hdf5-gcc4.3.3-fix.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/files/hdf5-gcc4.3.3-fix.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: hdf5-gcc4.3.3-fix.patch |
15 | =================================================================== |
16 | --- hdf5-1.6.7/perform/zip_perf.c 2008-01-31 21:04:10.000000000 -0600 |
17 | +++ hdf5-1.6.7.new/perform/zip_perf.c 2009-02-01 22:08:48.532069100 -0600 |
18 | @@ -546,7 +546,7 @@ |
19 | unlink(filename); |
20 | |
21 | /* do compressed data write */ |
22 | - output = open(filename, O_RDWR | O_CREAT); |
23 | + output = open(filename, O_RDWR | O_CREAT, S_IRWXU); |
24 | |
25 | if (output == -1) |
26 | error(strerror(errno)); |