Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 21:40:27 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, Don.Lewis@tsc.tdk.com, grog@lemis.com, peter@spinner.dialix.com.au
Cc:        atrens@nortel.ca, freebsd-bugs@FreeBSD.ORG, gram@cdsec.com, hackers@FreeBSD.ORG, phk@critter.freebsd.dk
Subject:   Re: Bug in malloc/free
Message-ID:  <199709191140.VAA14216@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>} We claim to be sort of POSIX conformant.  Perhaps this is enough.  We
>} aren't actually POSIX conformant.  All the above "safe" routines may
>} clobber the global `errno'.
>
>Which is why I save and restore errno in signal handlers.

OpenBSD has some fixes in this area.  However, POSIX seems to say that
it is unnecessary ("[the functions shall be reentrant ... without
restriction]").

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709191140.VAA14216>