Many problems with "mailx"

Daniel R. Levy levy at ttrdc.UUCP
Thu Aug 15 09:24:50 AEST 1985


In article <2617 at sun.uucp>, guy at 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



More information about the Net.bugs.usg mailing list