--with-threads=ucontext portability (was Re: [stunnel-users] stunnel4.x.x and IRIX)

Miloslav Trmac mitr at redhat.com
Tue Jan 31 14:40:09 CET 2006


Michal Trojnara wrote:
> Are we still talking about IRIX?
Sorry, I was talking about Linux and forgot to say that.

The SUSv3 (POSIX) specification is at
http://www.opengroup.org/onlinepubs/009695399/functions/makecontext.html:

The application shall ensure that the value of argc matches the number
of arguments of type int passed to func; otherwise, the behavior is
undefined.

BTW, makecontext () is now marked obsolectent by POSIX.  While it
probably works well on several platfoms and operating systems, maybe it
should not be the default any more...
	Mirek



More information about the stunnel-users mailing list