Lines 196-204
main(int argc, char **argv)
Link Here
|
196 |
tempfile2 = G_tempfile(); |
196 |
tempfile2 = G_tempfile(); |
197 |
tempfile3 = G_tempfile(); |
197 |
tempfile3 = G_tempfile(); |
198 |
|
198 |
|
199 |
fe=open(tempfile1,O_RDWR|O_CREAT); /* elev */ |
199 |
fe=open(tempfile1,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* elev */ |
200 |
fd=open(tempfile2,O_RDWR|O_CREAT); /* dirn */ |
200 |
fd=open(tempfile2,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* dirn */ |
201 |
fm=open(tempfile3,O_RDWR|O_CREAT); /* problems */ |
201 |
fm=open(tempfile3,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* problems */ |
202 |
|
202 |
|
203 |
G_message(_("Reading map...")); |
203 |
G_message(_("Reading map...")); |
204 |
for(i=0;i<nrows;i++) |
204 |
for(i=0;i<nrows;i++) |