From: dbe AT wgn DOT net ($Bill Luebkert) Subject: Re: uudecode? 21 Jan 1999 13:59:47 -0800 Message-ID: <36A703D8.D8953182.cygnus.gnu-win32@wgn.net> References: <95DE24D1FCFED0118B910060940A334006C31F AT mailhub DOT adacorp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mark Newnham Cc: "'John Cooper'" , gnu-win32 AT cygnus DOT com 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 AT wgn DOT net V3: http://come.to/dbe -/-' /___/_<_