Changeset 1669 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jan 14, 2007, 9:18:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1668 r1669 381 381 { 382 382 _zz_md5_fini(md5sum, ctx); 383 fprintf(std out, "zzuf[seed=%i]: %.02x%.02x%.02x%.02x%.02x%.02x"383 fprintf(stderr, "zzuf[seed=%i]: %.02x%.02x%.02x%.02x%.02x%.02x" 384 384 "%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x\n", 385 385 seed, md5sum[0], md5sum[1], md5sum[2], md5sum[3], … … 387 387 md5sum[8], md5sum[9], md5sum[10], md5sum[11], 388 388 md5sum[12], md5sum[13], md5sum[14], md5sum[15]); 389 fflush(stdout);390 389 } 391 390 … … 521 520 522 521 if(verbose) 523 fprintf(std out, "zzuf[seed=%i]: launched %s\n", seed, newargv[0]);522 fprintf(stderr, "zzuf[seed=%i]: launched %s\n", seed, newargv[0]); 524 523 525 524 /* We’re the parent, acknowledge spawn */ … … 554 553 { 555 554 if(verbose) 556 fprintf(std out, "zzuf[seed=%i]: data output exceeded,"555 fprintf(stderr, "zzuf[seed=%i]: data output exceeded," 557 556 " sending SIGTERM\n", child_list[i].seed); 558 557 kill(child_list[i].pid, SIGTERM); … … 566 565 { 567 566 if(verbose) 568 fprintf(std out, "zzuf[seed=%i]: running time exceeded,"567 fprintf(stderr, "zzuf[seed=%i]: running time exceeded," 569 568 " sending SIGTERM\n", child_list[i].seed); 570 569 kill(child_list[i].pid, SIGTERM); … … 581 580 { 582 581 if(verbose) 583 fprintf(std out, "zzuf[seed=%i]: not responding,"582 fprintf(stderr, "zzuf[seed=%i]: not responding," 584 583 " sending SIGKILL\n", child_list[i].seed); 585 584 kill(child_list[i].pid, SIGKILL); … … 606 605 if(checkexit && WIFEXITED(status) && WEXITSTATUS(status)) 607 606 { 608 fprintf(std out, "zzuf[seed=%i]: exit %i\n",607 fprintf(stderr, "zzuf[seed=%i]: exit %i\n", 609 608 child_list[i].seed, WEXITSTATUS(status)); 610 609 crashes++; … … 614 613 && child_list[i].status == STATUS_SIGTERM)) 615 614 { 616 fprintf(std out, "zzuf[seed=%i]: signal %i%s%s\n",615 fprintf(stderr, "zzuf[seed=%i]: signal %i%s%s\n", 617 616 child_list[i].seed, WTERMSIG(status), 618 617 sig2str(WTERMSIG(status)), … … 629 628 { 630 629 _zz_md5_fini(md5sum, child_list[i].ctx); 631 fprintf(std out, "zzuf[seed=%i]: %.02x%.02x%.02x%.02x%.02x%.02x"630 fprintf(stderr, "zzuf[seed=%i]: %.02x%.02x%.02x%.02x%.02x%.02x" 632 631 "%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x%.02x\n", 633 632 child_list[i].seed, md5sum[0], md5sum[1], md5sum[2], … … 639 638 child_count--; 640 639 } 641 642 fflush(stdout);643 640 } 644 641
Note: See TracChangeset
for help on using the changeset viewer.