Line
Link Here
|
0 |
-- gcc-3.4.6/gcc/collect2.c |
0 |
++ gcc-3.4.6/gcc/collect2.c |
Lines 1540-1546
collect_execute (const char *prog, char
Link Here
|
1540 |
if (redir) |
1540 |
if (redir) |
1541 |
{ |
1541 |
{ |
1542 |
/* Open response file. */ |
1542 |
/* Open response file. */ |
1543 |
redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT); |
1543 |
redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR); |
1544 |
|
1544 |
|
1545 |
/* Duplicate the stdout and stderr file handles |
1545 |
/* Duplicate the stdout and stderr file handles |
1546 |
so they can be restored later. */ |
1546 |
so they can be restored later. */ |