Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!clyde!watmath!watnot!watdaisy!dvadura From: dvadura@watdaisy.UUCP (Dennis Vadura) Newsgroups: net.micro.atari16 Subject: Re: Uudecode wierdidities, ue 3.7 (from Turner*Imagen),etc. Message-ID: <7863@watdaisy.UUCP> Date: Thu, 4-Sep-86 10:49:43 EDT Article-I.D.: watdaisy.7863 Posted: Thu Sep 4 10:49:43 1986 Date-Received: Thu, 4-Sep-86 22:08:44 EDT References: <517@elmgate.UUCP> <5661@topaz.RUTGERS.EDU> Reply-To: dvadura@watdaisy.UUCP (Dennis Vadura) Organization: Computer Science Dept., University of Waterloo Lines: 16 Keywords: uudecode emacs ST kermit errors I have had a similar problem with uudecode/encode recently. As it turned out I uudecoded a file on a Vax, and on the ST. But voila the file lengths were different! This got me curious since I trust the UNIX version more than the ST version I did some checking. As it turned out the ST version of uudecode opened the file it was writing in ascii mode, this posed some problems with traslation of the new-line chars. Anyway hacking the code for uudecode to use fopenb instead of fopen and recompiling it fixed the problem! -- -------------------------------------------------------------------------------- Dennis Vadura, Computer Science Dept., University of Waterloo UUCP: {ihnp4|allegra|utzoo|utcsri}!watmath!watdaisy!dvadura ================================================================================