Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decuac!nntpd.lkg.dec.com!ranger.enet.dec.com!minow From: minow@ranger.enet.dec.com (Martin Minow) Newsgroups: comp.unix.wizards Subject: Possible bug in Berkeley Time Server Daemon Message-ID: <23984@shlump.lkg.dec.com> Date: 30 Jun 91 18:49:16 GMT Sender: newsdaemon@shlump.lkg.dec.com Organization: Digital Equipment Corporation Lines: 19 In reading through the sources to the Berkeley Time Server Daemon (timed), I noticed what appears to be a coding error in the networkdelta.c function (sccsid 2.3 6/18/88). In that function, there is a sequence of statements bracketed by "/* this piece of code is critical: DO NOT TOUCH IT! */" Near the bottom of that code is the sequence i++ if (i = j) j++; Could someone who is conversant with the source please check whether "if (i = j)" should be "if (i == j)" (a mail response is preferred, and I'll summarize). Please direct flames about coding style and appropriate news groups to some other newsgroup. Thanks Martin Minow minow@ranger.enet.dec.com