search for: 0e646bd

Displaying 1 result from an estimated 1 matches for "0e646bd".

2016 Feb 03
2
[PATCH 1/2] daemon: glob: do not return directories with trailing slash
...| 2 +- tests/regressions/Makefile.am | 2 ++ tests/regressions/rhbz1293271.sh | 70 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 2 deletions(-) create mode 100755 tests/regressions/rhbz1293271.sh diff --git a/daemon/glob.c b/daemon/glob.c index 45fb30f..0e646bd 100644 --- a/daemon/glob.c +++ b/daemon/glob.c @@ -33,7 +33,7 @@ do_glob_expand (const char *pattern) /* glob(3) in glibc never calls chdir, so this seems to be safe: */ CHROOT_IN; - r = glob (pattern, GLOB_MARK|GLOB_BRACE, NULL, &buf); + r = glob (pattern, GLOB_BRACE, NULL, &buf)...