emacs aborting on exit with recent lib/libc/stdlib/atexit.c changes

Kostik Belousov kostikbel at gmail.com
Fri Aug 27 20:00:08 UTC 2010


On Fri, Aug 27, 2010 at 09:46:35PM +0200, Fabian Keil wrote:
> > diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c
> > index 97cf234..511172a 100644
> > --- a/lib/libc/stdlib/atexit.c
> > +++ b/lib/libc/stdlib/atexit.c
> > @@ -200,6 +200,6 @@ __cxa_finalize(void *dso)
> >  	if (dso == NULL)
> >  		_MUTEX_DESTROY(&atexit_mutex);
> >  
> > -	if (&__pthread_cxa_finalize != NULL)
> > +	if (has_phdr && &__pthread_cxa_finalize != NULL)
> >  		__pthread_cxa_finalize(&phdr_info);
> >  }
> 
> That fixed it. Thanks a lot.

Thank for your help, fixed in  r211894.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100827/df0c15be/attachment.pgp


More information about the freebsd-current mailing list