010-endpwent.patch 424 B

1234567891011121314151617181920
  1. --- a/find/parser.c
  2. +++ b/find/parser.c
  3. @@ -67,12 +67,12 @@
  4. #include "findutils-version.h"
  5. #include "system.h"
  6. -
  7. -#ifndef HAVE_ENDGRENT
  8. -# define endgrent ()
  9. +#if ! HAVE_ENDGRENT
  10. +# define endgrent() ((void) 0)
  11. #endif
  12. -#ifndef HAVE_ENDPWENT
  13. -# define endpwent ()
  14. +
  15. +#if ! HAVE_ENDPWENT
  16. +# define endpwent() ((void) 0)
  17. #endif
  18. static bool parse_accesscheck (const struct parser_table*, char *argv[], int *arg_ptr);