Debian Codegraph @

debian/patches/02_fix-permissions.patch

raw symbols SCIP
1 Descriptionscip-debian debian mpack 1.6-19 mpack/patches/`02_fix-permissions.patch`#Description.: fix permissions.
2 Authorscip-debian debian mpack 1.6-19 mpack/patches/`02_fix-permissions.patch`#Author.: Sebastian Pipping <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Bug-Debianscip-debian debian mpack 1.6-19 mpack/patches/`02_fix-permissions.patch`#Bug-Debian.: https://bugs.debian.org/655971scip-debian-bts debian-bts . . 655971:
4 Last-Updatescip-debian debian mpack 1.6-19 mpack/patches/`02_fix-permissions.patch`#Last-Update.: 2011-12-31
5 diff -up a/unixos.cscip-debian debian mpack 1.6-19 mpack/upstream/`unixos.c`: b/unixos.cscip-debian debian mpack 1.6-19 mpack/upstream/`unixos.c`:
6 --- a/unixos.c 2012-06-10 08:44:11.317756293 +1000
7 +++ b/unixos.c 2012-06-10 08:46:33.014703650 +1000
8 @@ -149,10 +149,10 @@ FILE *os_createnewfile(char *fname)
9 fd=open(fname, O_RDWR);
10 }
11 else {
12 - fd=open(fname, O_RDWR|O_CREAT|O_EXCL, 0644);
13 + fd=open(fname, O_RDWR|O_CREAT|O_EXCL, 0600);
14 }
15 #else
16 - fd=open(fname, O_RDWR|O_CREAT|O_TRUNC, 0644);
17 + fd=open(fname, O_RDWR|O_CREAT|O_TRUNC, 0600);
18 #endif
19
20 if (fd == -1)