| # | Line 47 | Line 47 | sum_images(const char *fspec, const CMATRIX *cv, FILE | |
|---|---|---|
| 47 | sprintf(errmsg, "cannot open picture '%s'", fname); | |
| 48 | error(SYSTEM, errmsg); | |
| 49 | } | |
| 50 | + | #ifdef getc_unlocked |
| 51 | + | flockfile(fp); |
| 52 | + | #endif |
| 53 | dt = DTfromHeader; | |
| 54 | if ((err = cm_getheader(&dt, NULL, NULL, NULL, NULL, fp)) != NULL) | |
| 55 | error(USER, err); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |