On Sun, Apr 12, 2026 at 2:00 PM Bruno Haible <[email protected]> wrote: > > Hi Jim, > > Jim Meyering wrote: > > There was another bug noted in that same report, but it was harder, so > > I got help from claude and liked the result (it also resolves a > > longstanding XFAIL for one of grep's tests). I've just pushed this: > > I think you pushed this too early. > > Both in glibc and in Gnulib there is a sentiment or a policy against > accepting contributions made by an LLM in the code base. > - glibc: [1] > - Gnulib: [2], see also HACKING line 226. ...
Hi Bruno, I am keenly aware. A key point is that I used it merely to understand the problem and to suggest solution outlines. Once I had that, writing the code was mostly mechanical, albeit tedious. In particular, the tip to "Save state_log before pruning, ..." helped save me a lot of time. This being related to my previous prune_impossible fix also helped: yesterday's debugging state was still fresh in my head. The change appears more complicated than it is due to the many lines added for pre-return bookkeeping and state save/restore operations. Sorry I didn't mention sooner the scope of its assistance. Jim
