Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!hplabs!hpcea!hpfcdc!stroyan From: stroyan@hpfcdc.HP.COM (Mike Stroyan) Newsgroups: comp.sys.amiga Subject: Re: Is this a Manx Bug? Message-ID: <5500003@hpfcdc.HP.COM> Date: Fri, 30-Jan-87 16:31:29 EST Article-I.D.: hpfcdc.5500003 Posted: Fri Jan 30 16:31:29 1987 Date-Received: Sun, 1-Feb-87 23:12:05 EST References: <958@tekred.TEK.COM> Organization: HP Ft. Collins, Co. Lines: 13 >later I was reading my C manual and it said that all 'auto' variables >should be automaticly initialized to zero at every entry to the subroutine. >The UNIX C does this, but Manx does not. Is this a Manx bug? Your UNIX C compiler is at fault. Kernighan and Ritchie, "The C Programming Language", page 198 states that "Automatic and register variables which are not initialized are guaranteed to start off as garbage." Your compiler just wasn't using rotten enough garbage. :-) Mike Stroyan, hpfcla!stroyan