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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
#include <spawn.h>
#include <stdlib.h>
#include "fdop.h"

int __faexpand(posix_spawn_file_actions_t *fa, size_t str)
{
	posix_spawn_file_actions_t *n, *blk;
	blk = malloc(sizeof *blk + str);
	if (!blk) return -1;
	*blk = *fa;
	n = fa->fa_chain;
	fa->fa_chain = blk;
	blk->fa_chain = n->fa_chain;
	n->fa_chain = blk;
	fa->fa_cnt = 0;
	return 0;
}
debug log:

solving f1d8c6fc ...
found f1d8c6fc in https://inbox.vuxu.org/musl/20220506190716.0d0483778c4bf15daddc22a3@zhasha.com/

applying [1/1] https://inbox.vuxu.org/musl/20220506190716.0d0483778c4bf15daddc22a3@zhasha.com/
diff --git a/src/process/__faexpand.c b/src/process/__faexpand.c
new file mode 100644
index 00000000..f1d8c6fc

Checking patch src/process/__faexpand.c...
Applied patch src/process/__faexpand.c cleanly.

index at:
100644 f1d8c6fce8e8cf95718f15d1d8345a981f935e13	src/process/__faexpand.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).