NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/41085: sigaction returns EINVAL instead of -1

The following reply was made to PR lib/41085; it has been noted by GNATS.

From: Matthias Drochner <>
Subject: Re: lib/41085: sigaction returns EINVAL instead of -1 
Date: Fri, 27 Mar 2009 18:32:07 +0100

 That's really weird... At some time (before netbsd-4) the binary
 layout of "struct sigaction" changed, because sigset_t was
 expanded to make room for more than 32 signals. There is a
 compatibility stub for old binaries, you'll get that if
 you don't include the header which redirects to the current
 version. In that case, a linker warning should be issued,
 recommending to include <signal.h>. Is that perhaps what
 happens here?
 best regards
 Forschungszentrum Juelich GmbH
 52425 Juelich
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
 Dr. Sebastian M. Schmidt

Home | Main Index | Thread Index | Old Index