Lines 1572-1578
Link Here
|
1572 |
} |
1572 |
} |
1573 |
|
1573 |
|
1574 |
if (f_open == NULL) { |
1574 |
if (f_open == NULL) { |
1575 |
fd_source = open(realname, O_RDONLY | O_CREAT); |
1575 |
fd_source = open(realname, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR); |
1576 |
|
1576 |
|
1577 |
if (fd_source != -1) { |
1577 |
if (fd_source != -1) { |
1578 |
f_source = fdopen(fd_source, "rb"); |
1578 |
f_source = fdopen(fd_source, "rb"); |
Lines 1691-1697
Link Here
|
1691 |
int fd_source; |
1691 |
int fd_source; |
1692 |
FILE *f_source = NULL; |
1692 |
FILE *f_source = NULL; |
1693 |
|
1693 |
|
1694 |
fd_source = open(tempname, O_RDONLY | O_CREAT); |
1694 |
fd_source = open(tempname, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR); |
1695 |
|
1695 |
|
1696 |
if (fd_source != -1) { |
1696 |
if (fd_source != -1) { |
1697 |
f_source = fdopen(fd_source, "rb"); |
1697 |
f_source = fdopen(fd_source, "rb"); |