mailing list of musl libc
 help / color / mirror / code / Atom feed
8e9e34d70ba5ed617b01ac5ceceb9e76a6c3c4b4 blob 410 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include <ftw.h>

int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit)
{
	/* The following cast assumes that calling a function with one
	 * argument more than it needs behaves as expected. This is
	 * actually undefined, but works on all real-world machines. */
	return nftw(path, (int (*)(const char *, const struct stat *, int, struct FTW *))fn, fd_limit, FTW_PHYS);
}
debug log:

solving 8e9e34d7 ...
found 8e9e34d7 in https://inbox.vuxu.org/musl/580d6560aaf8ed1d7894f881de51a170cfa8ad73.1684922612.git.Jens.Gustedt@inria.fr/
found e757fc6f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 e757fc6f0ce20b5b8ca0aedb65a45085c8005f8a	src/legacy/ftw.c

applying [1/1] https://inbox.vuxu.org/musl/580d6560aaf8ed1d7894f881de51a170cfa8ad73.1684922612.git.Jens.Gustedt@inria.fr/
diff --git a/src/legacy/ftw.c b/src/legacy/ftw.c
index e757fc6f..8e9e34d7 100644

Checking patch src/legacy/ftw.c...
Applied patch src/legacy/ftw.c cleanly.

index at:
100644 8e9e34d70ba5ed617b01ac5ceceb9e76a6c3c4b4	src/legacy/ftw.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).