From: | "Alin Nastac (mrness)" <mrness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dialup/slmodem/files: slmodem-2.9.11-create-mode.patch slmodem-2.9.11-amd64.patch slmodem-2.9.11-kernel-2.6.24.patch slmodem-2.9.11-makefile.patch |
Date: | Wed, 04 Mar 2009 01:23:47 |
Message-Id: | E1Leav5-0005pe-OS@stork.gentoo.org |
1 | mrness 09/03/03 20:08:51 |
2 | |
3 | Added: slmodem-2.9.11-create-mode.patch |
4 | Removed: slmodem-2.9.11-amd64.patch |
5 | slmodem-2.9.11-kernel-2.6.24.patch |
6 | slmodem-2.9.11-makefile.patch |
7 | Log: |
8 | Version bump. Fix open missing mode compilation error (#260114). |
9 | (Portage version: 2.1.6.7/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.1 net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch |
13 | |
14 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch?rev=1.1&view=markup |
15 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch?rev=1.1&content-type=text/plain |
16 | |
17 | Index: slmodem-2.9.11-create-mode.patch |
18 | =================================================================== |
19 | diff -Nru slmodem-2.9.11-20080817.orig/modem/modem_datafile.c slmodem-2.9.11-20080817/modem/modem_datafile.c |
20 | --- slmodem-2.9.11-20080817.orig/modem/modem_datafile.c 2008-03-29 12:04:16.000000000 +0000 |
21 | +++ slmodem-2.9.11-20080817/modem/modem_datafile.c 2009-03-03 22:02:01.000000000 +0000 |
22 | @@ -111,7 +111,7 @@ |
23 | int ret = -1; |
24 | int fd; |
25 | |
26 | - fd = open(file_name,O_CREAT|O_WRONLY); |
27 | + fd = open(file_name,O_CREAT|O_WRONLY, 0600); |
28 | if(fd < 0) |
29 | return -errno; |