🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1372

Re: 4.3 inetd bug

#1372
From: Doug Gwyn
Date: Tue, 04 Apr 1989 18:53
13 lines
1088 bytes
In article <2682@cuuxb.ATT.COM> bsteve@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.
Technical Details
Message-ID: <9980@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!purdue!haven!adm!smoke!gwyn
References: <2682@cuuxb.ATT.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!purdue!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn )
Newsgroups: comp.bugs.4bsd
Subject: Re: 4.3 inetd bug
Keywords: 4.3bsd inetd
Message-ID: <9980@smoke.BRL.MIL>
Date: 4 Apr 89 18:53:31 GMT
References: <2682@cuuxb.ATT.COM>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 13