Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Linux/AXP signum.h
Date: Mon, 21 Sep 1998 13:17:55 -0600 (MDT)	[thread overview]
Message-ID: <199809211917.NAA08302@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <36068E59.9568AD65@crd.ge.com> from "Dan Morrill" at Sep 21, 98 01:35:21 pm

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


  reply	other threads:[~1998-09-21 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-21 17:35 Linux/AXP signum.h Dan Morrill
1998-09-21 19:17 ` Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-21 17:41 A van Kessel
1998-09-21 17:58 ` Dan Morrill
1998-09-21 18:08 A van Kessel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox