From 61a3304f07526b673c56966024ff9f16cda45cc2 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 26 Oct 2026 10:06:45 +0000 Subject: [PATCH] remove rlimit part of gnu-grep patch --- recipes/tools/gnu-grep/grep.patch | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/recipes/tools/gnu-grep/grep.patch b/recipes/tools/gnu-grep/grep.patch index 8b3d8b98e..311f82263 100644 --- a/recipes/tools/gnu-grep/grep.patch +++ b/recipes/tools/gnu-grep/grep.patch @@ -1,23 +1,4 @@ Only in source: grep.patch -diff -ru source/lib/getdtablesize.c source-new/lib/getdtablesize.c ---- source/lib/getdtablesize.c 2017-07-23 20:50:44.287742363 -0700 -+++ source-new/lib/getdtablesize.c 2017-07-23 20:51:06.271284748 -0700 -@@ -109,15 +109,6 @@ - int - getdtablesize (void) - { -- struct rlimit lim; -- -- if (getrlimit (RLIMIT_NOFILE, &lim) == 0 -- && 0 <= lim.rlim_cur && lim.rlim_cur <= INT_MAX -- && lim.rlim_cur != RLIM_INFINITY -- && lim.rlim_cur != RLIM_SAVED_CUR -- && lim.rlim_cur != RLIM_SAVED_MAX) -- return lim.rlim_cur; -- - return INT_MAX; - } - diff -ru source/lib/getprogname.c source-new/lib/getprogname.c --- source/lib/getprogname.c 2017-01-16 09:29:13.000000000 -0800 +++ source-new/lib/getprogname.c 2017-07-23 20:49:21.133618122 -0700