Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!news.qut.edu.au!orac.crissp.qut.edu.au!reilly From: reilly@orac.crissp.qut.edu.au (Andrew Reilly) Subject: [NetBSD 0.8] No sigsetjmp and friends? Message-ID: <1993Jul21.072249.19699@news.qut.edu.au> Sender: news@news.qut.edu.au (USENET News System) Reply-To: A.Reilly@qut.edu.au Organization: Signal Processing Research Centre, QUT, AUS Date: Wed, 21 Jul 93 07:22:49 GMT Lines: 35 Hello, I'm currently trying to get Elm 2.4PL22 up on NetBSD 0.8. The "Configure" script has concluded that the POSIX_SIGNALS symbol should be defined, and this seems to be OK from a look at <sys/signal.h>, however in the file src/editmsg.c, the the definitions for the setjmp/longjmp functions are determined on the basis of this symbol: #ifdef POSIX_SIGNALS # define JMP_BUF sigjmp_buf # define SETJMP(env) sigsetjmp((env), 1) # define LONGJMP(env,val) siglongjmp((env), (val)) #else # define JMP_BUF jmp_buf # define SETJMP(env) setjmp(env) # define LONGJMP(env,val) longjmp((env), (val)) Now I can't see sigsetjmp or siglongjmp in /usr/lib/libc.a, or anywhere else, but setjmp/longjmp are there, so I'll just hack the Elm code to use these. The questions: 1) Are sigsetjmp/siglongjmp on the drawing board anywhere? 2) Where are the source files for setjmp/longjmp? There is a manual entry in /usr/share/man/cat3/setjmp.0 and unformatted in /usr/src/lib/libc/gen/setjmp.3, but none of the files in my /usr/src/lib/libc/gen directory define the function setjmp. Thanks for any help or pointers to more information, -- Andrew Reilly -- | A.Reilly@qut.edu.au | Signal Processing Research Centre | QUT, GPO 2434, Brisbane 4001, Australia. | phone: +61 7 864 2124 | fax: +61 7 864 1516 |