mailing list of musl libc
 help / color / mirror / code / Atom feed
b60d8f2cbf6434d054f05b4f0ff6dbaedcae50e5 blob 248 bytes (raw)

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

int pclose(FILE *f)
{
	int status, r;
	pid_t pid = f->pipe_pid;
	fclose(f);
	while ((r=__wait4(pid, &status, 0, 0, 0)) == -EINTR);
	if (r<0) return __syscall_ret(r);
	return status;
}
debug log:

solving b60d8f2c ...
found b60d8f2c in https://inbox.vuxu.org/musl/e792658a-fbaa-48bd-8704-7f9d2ec5a4ef@www.fastmail.com/
found 080a4262 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 080a426245b67be80d5066a539d2b6fabcf20b4f	src/stdio/pclose.c

applying [1/1] https://inbox.vuxu.org/musl/e792658a-fbaa-48bd-8704-7f9d2ec5a4ef@www.fastmail.com/
diff --git a/src/stdio/pclose.c b/src/stdio/pclose.c
index 080a4262..b60d8f2c 100644

Checking patch src/stdio/pclose.c...
Applied patch src/stdio/pclose.c cleanly.

index at:
100644 b60d8f2cbf6434d054f05b4f0ff6dbaedcae50e5	src/stdio/pclose.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).