100-add_glob_onlydir.patch 255 B

1234567891011
  1. --- a/include/glob.h
  2. +++ b/include/glob.h
  3. @@ -34,6 +34,8 @@ void globfree(glob_t *);
  4. #define GLOB_TILDE 0x1000
  5. #define GLOB_TILDE_CHECK 0x4000
  6. +#define GLOB_ONLYDIR 0x100
  7. +
  8. #define GLOB_NOSPACE 1
  9. #define GLOB_ABORTED 2
  10. #define GLOB_NOMATCH 3