| # | Line 345 | Line 345 | register int *xp, *yp; | |
|---|---|---|
| 345 | return(0); /* only check if asked */ | |
| 346 | if (pdone == NULL) /* first call */ | |
| 347 | pdone = calloc(hmult*vmult, sizeof(char)); | |
| 348 | + | if (pdone == NULL) { | 
| 349 | + | fprintf(stderr, "%s: out of memory\n", progname); | 
| 350 | + | exit(1); | 
| 351 | + | } | 
| 352 | if (readpos != -1) /* mark what's been done */ | |
| 353 | fseek(syncfp, readpos, 0); | |
| 354 | while (fscanf(syncfp, "%d %d", xp, yp) == 2) | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |