mailing list of musl libc
 help / color / mirror / code / Atom feed
* compatability: struct sigaction missing sa_restorer
@ 2012-04-14  2:20 Isaac Dunham
  2012-04-14  3:03 ` Rich Felker
  0 siblings, 1 reply; 4+ messages in thread
From: Isaac Dunham @ 2012-04-14  2:20 UTC (permalink / raw)
  To: musl

Kernel headers (asm/signal.h) and glibc headers agree that struct
sigaction should have sa_restorer; musl provides __sa_restorer
This is not mandated in X/Open or POSIX, AFAICT.
However, the specification says "struct sigaction includes at least the
following members", so here the glibc/kernel approach is conformant, as
well as being simple and obvious--as opposed to the possible approach:
#ifdef _GNU_SOURCE || _BSD_SOURCE
#define sa_restorer ....
#endif

This prevents building Xvesa; I definitely won't patch it to use
__sa_restorer.  Don't know if sa_restorer is commonly used.

I think that's the last issue, but could be wrong.

As far as __[gu]id_t goes:
$ grep -r  __[gu]id_t /usr/include|wc -l
101

So that's a fair-sized problem (sed already posted, fwiw).



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-14 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14  2:20 compatability: struct sigaction missing sa_restorer Isaac Dunham
2012-04-14  3:03 ` Rich Felker
2012-04-14 20:18   ` Isaac Dunham
2012-04-14 22:16     ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).