Debian Codegraph @

debian/patches/portability_open

raw symbols SCIP
1 Subjectscip-debian debian ifmail 2.14tx8.10-32 ifmail/patches/portability_open#Subject.: Missing mode to open() call with O_CREAT
2 Authorscip-debian debian ifmail 2.14tx8.10-32 ifmail/patches/portability_open#Author.: James Westby <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Bug-Debianscip-debian debian ifmail 2.14tx8.10-32 ifmail/patches/portability_open#Bug-Debian.: http://bugs.debian.org/507044scip-debian-bts debian-bts . . 507044:
4
5 --- a/ifgate/flock.cscip-debian debian ifmail 2.14tx8.10-32 ifmail/upstream/`ifgate/flock.c`:
6 +++ b/ifgate/flock.cscip-debian debian ifmail 2.14tx8.10-32 ifmail/upstream/`ifgate/flock.c`:
7 @@ -15,7 +15,7 @@ char *fn;
8
9 if (fn)
10 {
11 - if ((lfd=open(fn,O_RDWR | O_CREAT)) < 0)
12 + if ((lfd=open(fn,O_RDWR | O_CREAT,0600)) < 0)
13 {
14 logerr("$Error opening file %s",fn);
15 return -1;