mailing list of musl libc
 help / color / mirror / code / Atom feed
28ef1aa43f5d53e0ca1caf550b31af9af776e973 blob 412 bytes (raw)

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

int posix_spawnp(pid_t *restrict res, const char *restrict file,
	const posix_spawn_file_actions_t *fa,
	const posix_spawnattr_t *restrict attr,
	char *const argv[restrict], char *const envp[restrict])
{
	posix_spawnattr_t spawnp_attr = { 0 };
	if (attr) spawnp_attr = *attr;
	spawnp_attr.__fn = __execvpe;	
	return posix_spawn(res, file, fa, &spawnp_attr, argv, envp);
}
debug log:

solving 28ef1aa4 ...
found 28ef1aa4 in https://inbox.vuxu.org/musl/29L5XTRHVUHVF.2NI3H53T4EFFS@mforney.org/
found aad6133b in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 aad6133b919287daa4219aed26901efb702260e6	src/process/posix_spawnp.c

applying [1/1] https://inbox.vuxu.org/musl/29L5XTRHVUHVF.2NI3H53T4EFFS@mforney.org/
diff --git a/src/process/posix_spawnp.c b/src/process/posix_spawnp.c
index aad6133b..28ef1aa4 100644

1:10: trailing whitespace.
	spawnp_attr.__fn = __execvpe;	
Checking patch src/process/posix_spawnp.c...
Applied patch src/process/posix_spawnp.c cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 28ef1aa43f5d53e0ca1caf550b31af9af776e973	src/process/posix_spawnp.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).