Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 261283
Collapse All | Expand All

(-)grass-6.3.0/raster/r.drain/main.c (-2 / +2 lines)
Lines 296-303 int main(int argc, char **argv) Link Here
296
    tempfile1 = G_tempfile();
296
    tempfile1 = G_tempfile();
297
    tempfile2 = G_tempfile();
297
    tempfile2 = G_tempfile();
298
298
299
    fe = open(tempfile1, O_RDWR | O_CREAT);
299
    fe = open(tempfile1, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
300
    fd = open(tempfile2, O_RDWR | O_CREAT);
300
    fd = open(tempfile2, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
301
301
302
    /* transfer the input map to a temp file */
302
    /* transfer the input map to a temp file */
303
    for (i = 0; i < nrows; i++) {
303
    for (i = 0; i < nrows; i++) {
(-)grass-6.3.0/raster/r.fill.dir/main.c (-3 / +3 lines)
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++)

Return to bug 261283