uudecode?

$Bill Luebkert dbe@wgn.net
Sun Jan 31 23:52:00 GMT 1999


Mark Newnham wrote:
> 
> The problem appears to be with the uuencode portion, because a file
> encoded on a different system will uudecode correctly with the source
> supplied.
> 
> If you compare a file encoded with the source code, against the same
> file encoded on a Unix system, although the files are the same size,
> each line on the Unix encoded file starts with a 'M' (or possibly the
> 'M' is after the newline on the previous. This does not appear with the
> source code version.

This is due to a bug on this line:
   outbuf[idx++] = ENC(ch);		# ch is not active at this time
which I changed to:
   outbuf[idx++] = ENC(n);		# n is the number of chars read

I'll send my version to John.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:dbe@wgn.net   V3: http://come.to/dbe
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list