Home
last modified time | relevance | path

Searched refs:pglob (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch44 int safe_glob(const char *path, int flags, glob_t *pglob) {
51 @@ -32,9 +39,14 @@ int safe_glob(const char *path, int flags, glob_t *pglob) {
52 pglob->gl_lstat = lstat;
53 if (!pglob->gl_stat)
54 pglob->gl_stat = stat;
59 k = glob(path, flags | GLOB_ALTDIRFUNC, NULL, pglob);
61 + k = glob(path, flags, NULL, pglob);
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0005-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch44 int safe_glob(const char *path, int flags, glob_t *pglob) {
51 @@ -32,9 +39,14 @@ int safe_glob(const char *path, int flags, glob_t *pglob) {
52 pglob->gl_lstat = lstat;
53 if (!pglob->gl_stat)
54 pglob->gl_stat = stat;
59 k = glob(path, flags | GLOB_ALTDIRFUNC, NULL, pglob);
61 + k = glob(path, flags, NULL, pglob);
/openbmc/u-boot/common/
H A Dcli_hush.c452 static int globhack(const char *src, int flags, glob_t *pglob);
454 static int xglob(o_string *dest, int flags, glob_t *pglob);
2043 static int globhack(const char *src, int flags, glob_t *pglob) argument
2055 pglob->gl_pathv=NULL;
2056 pglob->gl_pathc=0;
2057 pglob->gl_offs=0;
2058 pglob->gl_offs=0;
2060 pathc = ++pglob->gl_pathc;
2061 pglob->gl_pathv = realloc(pglob->gl_pathv, (pathc+1)*sizeof(*pglob->gl_pathv));
2062 if (pglob->gl_pathv == NULL) return GLOB_NOSPACE;
[all …]