Commit 62614f0b authored by George Kadianakis's avatar George Kadianakis
Browse files

Merge remote-tracking branch 'tor-gitlab/mr/354'

parents e0b8a79b 272cb803
o Minor bugfixes (compilation):
- Fix a compilation warning about unused functions when building with
a libc that lacks the GLOB_ALTDIRFUNC constant. Fixes bug 40354;
bugfix on Patch by Daniel Pinto.
......@@ -533,6 +533,7 @@ unglob_win32(const char *pattern, int prev_sep, int next_sep)
return result;
#ifdef GLOB_ALTDIRFUNC // prevent warning about unused functions
/** Same as opendir but calls sandbox_intern_string before */
static DIR *
prot_opendir(const char *name)
......@@ -571,6 +572,7 @@ wrap_closedir(void *arg)
#endif /* defined(GLOB_ALTDIRFUNC) */
/** Function passed to glob to handle processing errors. <b>epath</b> is the
* path that caused the error and <b>eerrno</b> is the errno set by the
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment