mailing list of musl libc
 help / color / mirror / code / Atom feed
2c8aae6aeed8f094ab6f78539591ded5670a615f blob 292 bytes (raw)

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

pid_t getpgrp(void)
{
#ifdef SYS_getpgrp
	return __syscall(SYS_getpgrp);
#else
	sigset_t set;
	__block_app_sigs(&set);
	pid_t ret = __syscall(SYS_getpgid, __syscall(SYS_getpid));
	__restore_sigs(&set);
	return ret;
#endif
}
debug log:

solving 2c8aae6 ...
found 2c8aae6 in https://inbox.vuxu.org/musl/20140525054237.GA18085@brightrain.aerifal.cx/
found 433f42e in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 433f42e8f816107d75b64a096cb54b89e7688bb4	src/unistd/getpgrp.c

applying [1/1] https://inbox.vuxu.org/musl/20140525054237.GA18085@brightrain.aerifal.cx/
diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c
index 433f42e..2c8aae6 100644

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

index at:
100644 2c8aae6aeed8f094ab6f78539591ded5670a615f	src/unistd/getpgrp.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).