Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!linus!decvax!tektronix!uw-beaver!cornell!vax135!houxm!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.bugs.usg Subject: Re: Many problems with "mailx" Message-ID: <366@ttrdc.UUCP> Date: Wed, 14-Aug-85 19:24:50 EDT Article-I.D.: ttrdc.366 Posted: Wed Aug 14 19:24:50 1985 Date-Received: Wed, 21-Aug-85 05:52:32 EDT References: <2595@sun.uucp> <2617@sun.uucp> Distribution: net Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 30 In article <2617@sun.uucp>, guy@sun.uucp (Guy Harris) writes: >There were a couple of problems with the bug fixes posted earlier (the mail >I'm running has a rather complicated history so sticking the fixes back into >more vanilla versions of Mail/mailx caused a couple of errors). The fixes >should be obvious, but here they are anyway: > > ... > >*** vars.c.broken Fri Aug 9 02:49:17 1985 >--- vars.c Mon Aug 12 11:29:10 1985 >*************** >*** 107,113 > ... >! if ((top = calloc(strlen(str)+1, 1) == NULL) > ... > > Guy Harris Boy, it IS broken! The parentheses don't even balance. (Four left ones against three right ones.) How did the sucker even compile, let alone fail? (Or are these fixes to the "fixes"?) Sorry if this is a duhhhhmb question. -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer, my pets, my plants, my boss, or the | at&t computer systems division | s.a. of any computer upon which I may hack. | skokie, illinois | | "go for it" | Path: ..!ihnp4!ttrdc!levy -------------------------------- or: ..!ihnp4!iheds!ttbcad!levy