Date: Fri, 19 Sep 1997 17:11:22 -0700 From: Don Lewis <Don.Lewis@tsc.tdk.com> To: Terry Lambert <tlambert@primenet.com>, Don.Lewis@tsc.tdk.com (Don Lewis) Cc: hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: Bug in malloc/free Message-ID: <199709200011.RAA07321@salsa.gv.tsc.tdk.com> In-Reply-To: Terry Lambert <tlambert@primenet.com> "Re: Bug in malloc/free" (Sep 19, 3:31pm)
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 19, 3:31pm, Terry Lambert wrote: } Subject: Re: Bug in malloc/free } > } Subject: Re: Bug in malloc/free } > } } > } 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... Probably, though it's not necessary if the handler only sets a volatile flag, and it doesn't help those of us who write code that tries to be portable to environments where signal handlers can trash errno. --- Truck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709200011.RAA07321>