Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 273170 | Differences between
and this patch

Collapse All | Expand All

(-)simscan-1.4.0/simscanmk.c (-2 / +2 lines)
Lines 130-136 Link Here
130
  int fnd_patvers;
130
  int fnd_patvers;
131
#endif
131
#endif
132
132
133
  if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY)) < 0) {
133
  if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY, 0644)) < 0) {
134
    printf("error on open tmp file\n");
134
    printf("error on open tmp file\n");
135
    return(-1);
135
    return(-1);
136
  }
136
  }
Lines 376-382 Link Here
376
    return(-1);
376
    return(-1);
377
  }
377
  }
378
 
378
 
379
  if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY)) < 0) {
379
  if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY, 0644)) < 0) {
380
     printf("error on open tmp file\n");
380
     printf("error on open tmp file\n");
381
    return(-1);
381
    return(-1);
382
  }
382
  }

Return to bug 273170