From owner-freebsd-bugs Fri Sep 19 09:59:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA24372 for bugs-outgoing; Fri, 19 Sep 1997 09:59:28 -0700 (PDT) Received: from dublin.iona.ie (root@operation.dublin.iona.ie [192.122.221.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA24363; Fri, 19 Sep 1997 09:59:13 -0700 (PDT) Received: from ultra (ultra [192.122.221.136]) by dublin.iona.ie (8.7.5/jm-1.01) with SMTP id RAA17969; Fri, 19 Sep 1997 17:58:42 +0100 (BST) Date: Fri, 19 Sep 1997 17:58:18 +0100 (BST) From: Niall Smart X-Sender: nsmart@ultra To: Terry Lambert cc: Don Lewis , hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: Bug in malloc/free In-Reply-To: <199709191531.IAA07978@usr07.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 19 Sep 1997, Terry Lambert wrote: > > } 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. > > Perhaps this should be done by the trampoline code on the user's > behalf... Perhaps that would encourage people to write non-portable code. -- Niall Smart Customer Engineering, IONA Technologies. (www.iona.com)