336 |
|
putc('\n', torp); |
337 |
|
fflush(torp); /* assigns piece to rpict */ |
338 |
|
putpiece(xorg, yorg); /* place piece in output */ |
339 |
– |
if (verbose) { /* notify caller */ |
340 |
– |
printf("%d %d done\n", xorg, yorg); |
341 |
– |
fflush(stdout); |
342 |
– |
} |
339 |
|
} |
340 |
|
} |
341 |
|
|
413 |
|
1) == -1) |
414 |
|
goto seekerr; |
415 |
|
} |
416 |
< |
if (pid == -1) { /* fork failed */ |
416 |
> |
if (verbose) { /* notify caller */ |
417 |
> |
printf("%d %d done\n", xpos, ypos); |
418 |
> |
fflush(stdout); |
419 |
> |
} |
420 |
> |
if (pid == -1) { /* didn't fork or fork failed */ |
421 |
|
#if NFS |
422 |
|
fls.l_type = F_UNLCK; /* release lock */ |
423 |
|
fcntl(outfd, F_SETLKW, &fls); |