Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!purdue!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.unix.ultrix Subject: Re: DS 3100/Xwindows bug Message-ID: <2164@bacchus.dec.com> Date: 27 Nov 89 21:53:42 GMT References: <7842@bunny.GTE.COM> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 15 In article <7842@bunny.GTE.COM>, krs0@GTE.COM (Rod Stephens) writes: > After an unhelpful call to software support and much fiddling around, > he narrowed the problem down to a variable named "index". He changed > the variable's name to something else and all worked fine. It seemed > as if there might be some C language or system internal variable named > "index" and that his "index" was getting confused with this one. Type "man 3 index". index() is a commonly used UNIX string handling routine. If you have your own external variable called index, your linker will get really confused. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee