Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nprdc!stanonik From: stanonik@nprdc.navy.mil (Ron Stanonik) Newsgroups: u3b.tech,comp.sys.att Subject: tcp/ip win3b libnet.a bug Message-ID: <9707@arctic.nprdc.arpa> Date: 21 Sep 90 23:01:00 GMT Sender: news@nprdc.arpa Reply-To: stanonik@nprdc.navy.mil (Ron Stanonik) Organization: Navy Personnel R&D Center, San Diego Lines: 24 We ran into a another bug in the tcp/ip win3b libnet.a, release 3.0. The bcopy() merely does a forward copy; eg, while (cnt--) *dst++ = *src++; This fails for overlapping copies. Overlapping copies should countdown, not up; eg dst += cnt; src += cnt while (cnt--) *dst-- = *src--; We ran into this bug while using the bcopy in -lnet for a port of the 4.3bsd dbm library. Is 3.0 the latest tcp/ip win3b release for 3b2's? Thanks, Ron Stanonik stanonik@nprdc.navy.mil ucsd!nprdc!stanonik