Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!shodha.enet.dec.com!alan From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.) Newsgroups: comp.unix.ultrix Subject: Re: memcmp() is broken Summary: Yup, it's a bug. Message-ID: <1613@shodha.enet.dec.com> Date: 5 Sep 90 01:40:36 GMT References: <1990Sep4.185612.21345@is.uu.no> Organization: Digital Equipment Corp. - Colorado Springs, CO. Lines: 17 In article <1990Sep4.185612.21345@is.uu.no>, ra@is.uu.no (Robert Andersson) writes: > This is on a DECstation 3100 running Ultrix 3.1. Am I dreaming, or is > really memcmp() broken? I get wild results from the last two memcmp > calls. Test program follows: > > [ Example program followed... ] If I remember my list of patches correctly, yes, memcmp() is broken. The patch and instructions should be available from your local CSC. The patch is a new copy of memcmp.o. > -- > Robert Andersson, International Systems A/S, Oslo, Norway. -- Alan Rollow alan@nabeth.enet.dec.com