Bug#516294: On the trail of sigsuspend(2)

2011-01-29 Thread Thorsten Glaser
SIGSUSPEND(2) Linux Programmer's Manual SIGSUSPEND(2) NAME sigsuspend - wait for a signal SYNOPSIS #include signal.h int sigsuspend(const sigset_t *mask); … and … SIGSUSPEND(2) BSD Programmer's Manual SIGSUSPEND(2) NAME

Bug#516294: On the trail of sigsuspend(2)

2011-01-29 Thread Thorsten Glaser
Dixi quod… root@ara2:~ # klcc -o tklibc t.c; gcc -o tglibc t.c; ./tklibc; ./tglibc 4 128 Hm. Apparently, it’s not that, because klibc appears to use the old-style functions and old_sigset_t is a long, so okay. (And no, it’s not related to that commit, 1.5.20 was broken too.) strace ./mksh -c ls