Date: Tue, 26 Jun 2007 08:33:53 +0200 From: Gary Jennejohn <garyj@jennejohn.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@FreeBSD.org Subject: Re: weird error with nmh Message-ID: <20070626083353.d9bcff21.garyj@jennejohn.org> In-Reply-To: <20070625.160459.-1331210894.imp@bsdimp.com> References: <20070624191345.7f08c10e.garyj@jennejohn.org> <20070625.160459.-1331210894.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Jun 2007 16:04:59 -0600 (MDT) "M. Warner Losh" <imp@bsdimp.com> wrote: > In message: <20070624191345.7f08c10e.garyj@jennejohn.org> > Gary Jennejohn <garyj@jennejohn.org> writes: > : I'm using exmh with nmh on a freshly installed AMD64-current: > : 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Sat Jun 23 19:29:01 CEST > : 2007 > : > : nmh uses its own version of strcasecmp() because in many cases it > : passes NULL pointers to it and must check for that. > : > : However, somehow the version in libc gets used rather than the > version : from nmh and calling e.g. repl results in a SIGSEGV because > the NULL : pointer is dereferenced. > : > : I was forced to rename the routine to nmhstrcasecmp() all over the > : place. After that repl works. > : > : My question - why isn't the version in nmh overriding the version in > : libc? Am I misunderstanding something here? > > I see exactly this too... > > Warner I remade world with -O -pipe and the error with repl went away. This was suggested by phk@. Seems that gcc42 is optimizing just a little bit too much away with -O2. What I now see is that exmh doesn't send out my mails, although it goes through all the motions (I see network activity). Now I'm using sylpheed, although I'd much prefer exmh. --- Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070626083353.d9bcff21.garyj>