bug#73360: Error when a long list is provided to grep with "--binary-files=without-match" option

2024-09-23 Thread Rodrigo Jorge
Thanks, Paul. I tried to clone and compile your latest changes from the Savannah repo but since some extra requirements are probably needed to compile from master branch (that are beyond my knowledge), I ended up not being able to validate it. Anyway, thanks for the correction and fix implementati

bug#73360: Error when a long list is provided to grep with "--binary-files=without-match" option

2024-09-20 Thread Rodrigo Jorge
file order. Thanks, Rodrigo On Fri, Sep 20, 2024 at 10:54 AM Rodrigo Jorge wrote: > I could reproduce the same issue without xargs, so I think we can take it > out of the picture: > > [user@server folder]$ find -type f -not -path "./.patch_storage/*" -not > -name "

bug#73360: Error when a long list is provided to grep with "--binary-files=without-match" option

2024-09-20 Thread Rodrigo Jorge
the strace command to > see exactly what it is up to. It will show the execvp() call, for > instance. You might need a bigger -s! > > $ strace -f -v -s 262144 > > On Thursday, September 19, 2024 at 10:29:30 AM EDT, Rodrigo Jorge < > rodrigoaraujo...@gmail.com> wrote: > &g

bug#73360: Error when a long list is provided to grep with "--binary-files=without-match" option

2024-09-19 Thread Rodrigo Jorge
Hello. I'm trying to use grep to get the list of all non-binary files in a given folder. I tried with the 2.20 and the 3.11 release. For some reason, grep is providing 2 false negatives when the list is huge. This issue does not happen if I break the grep input with "xargs -n X". Check below: [o