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.14 by root, Fri Oct 10 20:23:12 2008 UTC vs.
Revision 1.15 by root, Mon Oct 13 12:12:56 2008 UTC

99 } 99 }
100 print "\n"; 100 print "\n";
101 } 101 }
102 102
103 print $uu->filename; 103 print $uu->filename;
104
105 $uu->remove_temp;
106
104 if (my $err = $uu->decode_temp) { 107 if (my $err = $uu->decode ()) {
105 print " ", strerror $err, "\n"; 108 print ", ", strerror $err, "\n";
106 } else { 109 } else {
107 print " temporarily decoded to ", $uu->binfile;
108 $uu->remove_temp;
109
110 if (my $err = $uu->decode ()) {
111 print ", ", strerror $err, "\n";
112 } else {
113 print ", saved as uudst/", $uu->filename, "\n"; 110 print ", saved as uudst/", $uu->filename, "\n";
114 }
115 } 111 }
116} 112}
117 113
118print "cleanup...\n"; 114print "cleanup...\n";
119 115
120CleanUp(); 116CleanUp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines