mailing list of musl libc
 help / color / mirror / code / Atom feed
50bf3b135c063eeed8c5852a49c1f74df90dce3e blob 274 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int pause(void)
{
#ifdef SYS_pause
	return syscall_cp(SYS_pause);
#else
	sigset_t mask;
	__syscall(SYS_rt_sigprocmask, SIG_BLOCK, 0, &mask, _NSIG/8);
	return syscall_cp(SYS_rt_sigsuspend, &mask, _NSIG/8);
#endif
}
debug log:

solving 50bf3b1 ...
found 50bf3b1 in https://inbox.vuxu.org/musl/20140525054237.GA18085@brightrain.aerifal.cx/ ||
	https://inbox.vuxu.org/musl/20140526184036.GZ507@brightrain.aerifal.cx/
found f7ed17d in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 f7ed17d16f0fdc481d1bc6d3df37c72eeb82989d	src/unistd/pause.c

applying [1/2] https://inbox.vuxu.org/musl/20140525054237.GA18085@brightrain.aerifal.cx/
diff --git a/src/unistd/pause.c b/src/unistd/pause.c
index f7ed17d..50bf3b1 100644

Checking patch src/unistd/pause.c...
Applied patch src/unistd/pause.c cleanly.

skipping https://inbox.vuxu.org/musl/20140526184036.GZ507@brightrain.aerifal.cx/ for 50bf3b1
index at:
100644 50bf3b135c063eeed8c5852a49c1f74df90dce3e	src/unistd/pause.c

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).