mailing list of musl libc
 help / color / mirror / code / Atom feed
32c03610020b337108d61fac709a7a148409c9bc blob 1380 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
 
#ifndef	_GLOB_H
#define	_GLOB_H

#ifdef __cplusplus
extern "C" {
#endif

#include <features.h>

#define __NEED_size_t

#include <bits/alltypes.h>

#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
#define __dirent dirent
#define __stat stat
#else
#define glob __posix_glob
#endif

struct __dirent;
struct __stat;

typedef struct {
	size_t gl_pathc;
	char **gl_pathv;
	size_t gl_offs;
	int __dummy1;

	void (*gl_closedir)(void *);
	struct __dirent *(*gl_readdir)(void *);
	void *(*gl_opendir)(const char *);
	int (*gl_lstat)(const char *__restrict, struct __stat *__restrict);
	int (*gl_stat)(const char *__restrict, struct __stat *__restrict);
} glob_t;

int  glob(const char *__restrict, int, int (*)(const char *, int), glob_t *__restrict);
void globfree(glob_t *);

#define GLOB_ERR      0x01
#define GLOB_MARK     0x02
#define GLOB_NOSORT   0x04
#define GLOB_DOOFFS   0x08
#define GLOB_NOCHECK  0x10
#define GLOB_APPEND   0x20
#define GLOB_NOESCAPE 0x40
#define	GLOB_PERIOD   0x80

#define GLOB_ALTDIRFUNC  0x0200
#define GLOB_NOMAGIC     0x0800
#define GLOB_TILDE       0x1000
#define GLOB_TILDE_CHECK 0x4000

#define GLOB_NOSPACE 1
#define GLOB_ABORTED 2
#define GLOB_NOMATCH 3
#define GLOB_NOSYS   4

#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define glob64 glob
#define globfree64 globfree
#define glob64_t glob_t
#endif

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving 32c03610020b ...
found 32c03610020b in https://inbox.vuxu.org/musl/20210827204950.10223-3-ismael@iodev.co.uk/
found 0ff70bdfeef2 in https://inbox.vuxu.org/musl/20190726234847.12321-1-ismael@iodev.co.uk/
found 4a562a206d52 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 4a562a206d5202397ca989ff373bdf18bf6f4f4f	include/glob.h

applying [1/2] https://inbox.vuxu.org/musl/20190726234847.12321-1-ismael@iodev.co.uk/
diff --git a/include/glob.h b/include/glob.h
index 4a562a206d52..0ff70bdfeef2 100644


applying [2/2] https://inbox.vuxu.org/musl/20210827204950.10223-3-ismael@iodev.co.uk/
diff --git a/include/glob.h b/include/glob.h
index 0ff70bdfeef2..32c03610020b 100644

Checking patch include/glob.h...
Applied patch include/glob.h cleanly.
Checking patch include/glob.h...
Applied patch include/glob.h cleanly.

index at:
100644 32c03610020b337108d61fac709a7a148409c9bc	include/glob.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).