From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-ftp/pftpfxp/files: 1.11-gcc43.patch |
Date: | Fri, 03 Apr 2009 15:17:34 |
Message-Id: | E1Lpl9A-0001IU-QB@stork.gentoo.org |
1 | patrick 09/04/03 15:17:32 |
2 | |
3 | Added: 1.11-gcc43.patch |
4 | Log: |
5 | Fix gcc 4.3 compile failure. Thanks to Magnus Granberg, fixes #261299 |
6 | (Portage version: 2.2_rc28/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-ftp/pftpfxp/files/1.11-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pftpfxp/files/1.11-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pftpfxp/files/1.11-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 1.11-gcc43.patch |
15 | =================================================================== |
16 | --- src/tcp.cc 2003-11-08 23:00:00.000000000 +0000 |
17 | +++ src/tcp.cc 2009-03-11 22:26:49.000000000 +0000 |
18 | @@ -1176,7 +1176,7 @@ |
19 | this->size = 0; |
20 | |
21 | if ((outfile_fd = |
22 | - open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY)) == -1) { |
23 | + open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0644)) == -1) { |
24 | this->error = E_BAD_LOCALFILE; |
25 | return (FALSE); |
26 | } |