]> git.pld-linux.org Git - packages/grep.git/blob - grep-dirfd.patch
Rel 2; Fixes gnulib "Operation not supported" error when grepping -r
[packages/grep.git] / grep-dirfd.patch
1 Description: Fixes gnulib "Operation not supported" error when grepping -r
2  directories with more than 100000 files.
3  The bug is already fixed in the upstream development branch.
4 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041588
5 Author: Vincent Lefevre <vincent@vinc17.net>
6 Forwarded: not-needed
7
8 diff -Naurd grep-3.11-orig/m4/dirfd.m4 grep-3.11/m4/dirfd.m4
9 --- grep-3.11~/m4/dirfd.m4      2023-04-29 11:03:00.000000000 +0200
10 +++ grep-3.11/m4/dirfd.m4       2023-07-21 19:40:41.345044696 +0200
11 @@ -40,10 +40,6 @@
12      HAVE_DIRFD=0
13    else
14      HAVE_DIRFD=1
15 -    dnl Replace only if the system declares dirfd already.
16 -    if test $ac_cv_have_decl_dirfd = yes; then
17 -      REPLACE_DIRFD=1
18 -    fi
19      dnl Replace dirfd() on native Windows, to support fdopendir().
20      AC_REQUIRE([gl_DIRENT_DIR])
21      if test $DIR_HAS_FD_MEMBER = 0; then
This page took 0.027803 seconds and 3 git commands to generate.