… | |
… | |
482 | SetOption OPT_RBUF, 128*1024; |
482 | SetOption OPT_RBUF, 128*1024; |
483 | SetOption OPT_WBUF, 1024*1024; |
483 | SetOption OPT_WBUF, 1024*1024; |
484 | SetOption OPT_IGNMODE, 1; |
484 | SetOption OPT_IGNMODE, 1; |
485 | SetOption OPT_IGNMODE, 1; |
485 | SetOption OPT_IGNMODE, 1; |
486 | SetOption OPT_VERBOSE, 1; |
486 | SetOption OPT_VERBOSE, 1; |
|
|
487 | SetOption OPT_AUTOCHK, 0; |
487 | |
488 | |
488 | # show the three ways you can set callback functions. I normally |
489 | # show the three ways you can set callback functions. I normally |
489 | # prefer the one with the sub inplace. |
490 | # prefer the one with the sub inplace. |
490 | SetFNameFilter \&namefilter; |
491 | SetFNameFilter \&namefilter; |
491 | |
492 | |
… | |
… | |
529 | # now read all files in the directory uusrc/* |
530 | # now read all files in the directory uusrc/* |
530 | for (<uusrc/*>) { |
531 | for (<uusrc/*>) { |
531 | my ($retval, $count) = LoadFile ($_, $_, 1); |
532 | my ($retval, $count) = LoadFile ($_, $_, 1); |
532 | print "file($_), status(", strerror $retval, ") parts($count)\n"; |
533 | print "file($_), status(", strerror $retval, ") parts($count)\n"; |
533 | } |
534 | } |
|
|
535 | |
|
|
536 | Smerge -1; |
534 | |
537 | |
535 | SetOption OPT_SAVEPATH, "uudst/"; |
538 | SetOption OPT_SAVEPATH, "uudst/"; |
536 | |
539 | |
537 | # now wade through all files and their source parts |
540 | # now wade through all files and their source parts |
538 | for my $uu (GetFileList) { |
541 | for my $uu (GetFileList) { |