[bug #62622] E2BIG misbehaviour

Tavian Barnes <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #62622 (project findutils):

I noticed this a while ago but forgot to report it:
https://github.com/sharkdp/argmax/issues/1#issuecomment-972035652

`xargs` is trying to find the real limit with binary search:
https://git.savannah.gnu.org/cgit/findutils.git/tree/lib/buildcmd.c?id=372cd34894e247fe5c2991eb75185ea2ec850ee2#n190

But `limit` can be far outside the range `[largest_successful_arg_count,
smallest_failed_arg_count]`.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62622>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.