From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31266 invoked from network); 21 Sep 1998 19:18:57 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Sep 1998 19:18:57 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA10892 for ; Mon, 21 Sep 1998 15:18:34 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id NAA08302 for axp-list@redhat.com; Mon, 21 Sep 1998 13:17:55 -0600 From: Michal Jaegermann Message-Id: <199809211917.NAA08302@ellpspace.math.ualberta.ca> Subject: Re: Linux/AXP signum.h To: axp-list@redhat.com Date: Mon, 21 Sep 1998 13:17:55 -0600 (MDT) In-Reply-To: <36068E59.9568AD65@crd.ge.com> from "Dan Morrill" at Sep 21, 98 01:35:21 pm Content-Type: text Dan Morrill wrote: > > OpenLDAP has an #ifdef LINUX around the points where it uses > these signals; however, it uses SIGSTKFLT and SIGUNUSED, > which are present on Linux/Intel but not on Linux/Alpha. Hm, running 'kill -l' on my Linux/Intel prints exactly this: 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGIOT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR > In other words, the authors of OpenLDAP have assumed that > all Linuxes have the same signum.h, whatever platform they're > running on. I am afraid assumption of a type "all platforms are exactly like mine at this moment" lead straight to a buggy code. It seems that you can easily solve your immediate problem on hand by picking up two otherwise unused signals and two defines. Michal