4.3 inetd bug

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Apr 5 04:53:31 AEST 1989


In article <2682 at cuuxb.ATT.COM> bsteve at cuuxb.ATT.COM (Netnews Administrator) writes:
- The expression and assignment on line 411 of src/etc/inetd.c of 4.3
- results in an ambiguous assignment. 
-	sep->se_wait = strcmp(arg, "wait") == 0;
- The result is that specifications for inetd to wait for daemons fail
- with certain compilers and on various machine architectures, always
- assigning sep->se_wait to be 0.

Harumph.  What exactly is supposed to be the problem with this?
It is perfectly unambiguous and so far as I can see, correct.

That's not to say that inetd doesn't have bugs, just that this
isn't one of them.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list