Date: Fri, 09 May 1997 17:07:44 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> To: Timothy Moore <moore@WOLFENET.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: g++ shared library segfaults Message-ID: <199705100007.RAA07850@rah.star-gate.com> In-Reply-To: Your message of "Fri, 09 May 1997 16:28:53 PDT." <199705092328.QAA24652@gonzo.wolfenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, You also have to apply the same fix to the rest of the IV installation. I rebuilt the IV library and fix all of them. Please, Whomever is maintaining Interviews please apply the fix thru out Interviews. Tnks, Amancio >From The Desk Of Timothy Moore : > Date: Fri, 09 May 1997 15:51:51 -0700 > From: Amancio Hasty <hasty@rah.star-gate.com> > > Hi, > > I traced it further more and it looks like a bug in Docviewer.c using > an illegal reference to a local variable. > > for (long i = 0; i < count; ++i) { > ViewerColorInfo& info = _color_info->item_ref(i); > if (strcmp(info._name, name) == 0) { > break; > } > } > > later on it checks the value of i. I change the scope of i and doc just > fired right up. Will "fix" similar referencs in doc. > > Uh, that's not an illegal reference. The scope of i extends to the > end of the containing block, not the end of the "for" statement. > > Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705100007.RAA07850>