| 135 |
|
exit(1); |
| 136 |
|
} |
| 137 |
|
SET_FILE_BINARY(ofp); |
| 138 |
+ |
#ifdef getc_unlocked /* avoid lock/unlock overhead */ |
| 139 |
+ |
flockfile(ofp); |
| 140 |
+ |
#endif |
| 141 |
|
} else |
| 142 |
|
fputs("{\n", stdout); |
| 143 |
|
/* need to assign Dx, Dy, Dz? */ |
| 242 |
|
progname); |
| 243 |
|
exit(1); |
| 244 |
|
} |
| 245 |
+ |
SET_FILE_BINARY(ofp); |
| 246 |
+ |
#ifdef getc_unlocked /* avoid lock/unlock overhead */ |
| 247 |
+ |
flockfile(ofp); |
| 248 |
+ |
#endif |
| 249 |
|
} else |
| 250 |
|
fputs("{\n", stdout); |
| 251 |
|
/* need to assign Dx, Dy, Dz? */ |
| 382 |
|
fprintf(stderr, |
| 383 |
|
"%s: need single function with 6 arguments: bsdf(ix,iy,iz,ox,oy,oz)\n", |
| 384 |
|
progname); |
| 385 |
< |
fprintf(stderr, "\tor 3 arguments using Dx,Dy,Dz: bsdf(ix,iy,iz)\n", |
| 379 |
< |
progname); |
| 385 |
> |
fprintf(stderr, "\tor 3 arguments using Dx,Dy,Dz: bsdf(ix,iy,iz)\n"); |
| 386 |
|
goto userr; |
| 387 |
|
} |
| 388 |
|
++eclock; |