mailing list of musl libc
 help / color / mirror / code / Atom feed
65c3c9f433f713114d15174462a4e378e11ae982 blob 519 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
#define FDOP_CLOSE 1
#define FDOP_DUP2 2
#define FDOP_OPEN 3
#define FDOP_CHDIR 4
#define FDOP_FCHDIR 5

#define malloc __libc_malloc
#define calloc __libc_calloc
#define realloc undef
#define free __libc_free

static inline 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->__actions;
	fa->__actions = blk;
	blk->__actions = n->__actions;
	n->__actions = blk;
	fa->__pad0[0] = 0;
	return 0;
}
debug log:

solving 65c3c9f4 ...
found 65c3c9f4 in https://inbox.vuxu.org/musl/Yf152c5ZpA+TY4X+@wirbelwind.zhasha.com/
found 7cf733b2 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 7cf733b21dc14ce2708fac19fa46dea87fcdfa9b	src/process/fdop.h

applying [1/1] https://inbox.vuxu.org/musl/Yf152c5ZpA+TY4X+@wirbelwind.zhasha.com/
diff --git a/src/process/fdop.h b/src/process/fdop.h
index 7cf733b2..65c3c9f4 100644

Checking patch src/process/fdop.h...
Applied patch src/process/fdop.h cleanly.

index at:
100644 65c3c9f433f713114d15174462a4e378e11ae982	src/process/fdop.h

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