[Date Prev][Date Next] [Chronological] [Thread] [Top]

bug+patch: signals and sparc/linux/linuxthreads



linuxthreads (a posix-conformant implementation for linux) 
use SIGUSR1 & SIGUSR2 internally.

some parts of the slapd/slurpd sources have been patched for this
pecularity, but only with the intel architecture in mind:

USR1&2 are replaced by SIGSTKFLT and SIGUNUSED, which
aren't defined for sparc/alpha.

i have substituted two other (non-posix) signals which have
no special predefined meaning (SIGEMT and SIGSYS) and added
some "detection" for linux, linux/sparc and linuxthreads
via the defines "POSIX_THREADS", "linux" and "sparc" - there
seems to be no more elegant solution :-|

diff/patch against -stable (chanelog tells me 
CVS Tag: OPENLDAP_STABLE/OPENLDAP_STABLE_981025) attached.

regards,
az

Attachment: binW9IhM05HtT.bin
Description: openldap-linuxthreads.patch

-- 
++ Dipl.-Ing. Alexander Zangerl ++ EUnet tech staff ++
++ A.Zangerl@Austria.EU.net               NIC AZ163 ++
++ Phone +43-1-899 33-0        Fax +43-1-899 33-533 ++
--

Attachment: signature.asc
Description: PGP signature