From owner-freebsd-bugs Fri Sep 19 04:45:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA05959 for bugs-outgoing; Fri, 19 Sep 1997 04:45:35 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA05930; Fri, 19 Sep 1997 04:45:21 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id VAA14216; Fri, 19 Sep 1997 21:40:27 +1000 Date: Fri, 19 Sep 1997 21:40:27 +1000 From: Bruce Evans Message-Id: <199709191140.VAA14216@godzilla.zeta.org.au> To: bde@zeta.org.au, Don.Lewis@tsc.tdk.com, grog@lemis.com, peter@spinner.dialix.com.au Subject: Re: Bug in malloc/free Cc: atrens@nortel.ca, freebsd-bugs@FreeBSD.ORG, gram@cdsec.com, hackers@FreeBSD.ORG, phk@critter.freebsd.dk Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >} 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