ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/example-decoder
(Generate patch)

Comparing Convert-UUlib/example-decoder (file contents):
Revision 1.19 by root, Mon Aug 24 04:38:23 2009 UTC vs.
Revision 1.20 by root, Mon Aug 24 06:15:00 2009 UTC

81for(<uusrc/*>) { 81for(<uusrc/*>) {
82 my ($retval, $count) = LoadFile ($_, $_, 1); 82 my ($retval, $count) = LoadFile ($_, $_, 1);
83 print "file($_), status(", strerror $retval, ") parts($count)\n"; 83 print "file($_), status(", strerror $retval, ") parts($count)\n";
84} 84}
85 85
86CheckGlobalList; 86Smerge -1;
87 87
88SetOption OPT_SAVEPATH, "uudst/"; 88SetOption OPT_SAVEPATH, "uudst/";
89 89
90# now wade through all files and their source parts 90# now wade through all files and their source parts
91$i = 0; 91$i = 0;
112 112
113 print $uu->filename; 113 print $uu->filename;
114 114
115 $uu->remove_temp; 115 $uu->remove_temp;
116 116
117 print "<s", $uu->state, ">";#d#
117 if (my $err = $uu->decode) { 118 if (my $err = $uu->decode) {
118 print ", ", strerror $err, "\n"; 119 print ", ", strerror $err, "\n";
119 } else { 120 } else {
120 print ", saved as uudst/", $uu->filename, "\n"; 121 print ", saved as uudst/", $uu->filename, "\n";
121 } 122 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines