100-add_glob_onlydir.patch 245 B

1234567891011
  1. --- a/include/glob.h
  2. +++ b/include/glob.h
  3. @@ -31,6 +31,8 @@ void globfree(glob_t *);
  4. #define GLOB_NOESCAPE 0x40
  5. #define GLOB_PERIOD 0x80
  6. +#define GLOB_ONLYDIR 0x100
  7. +
  8. #define GLOB_NOSPACE 1
  9. #define GLOB_ABORTED 2
  10. #define GLOB_NOMATCH 3