On Fri, Jul 12, 2024 at 09:32:28AM +0700, Robert Elz wrote: > While I don't object to the change (and core dumps are never good) what > you're doing is actually unspecified behaviour.
Thank you for the hint. I note the specification does not forbid the handling of lines longer than LINE_MAX characters. > > Better would be to use size_t Will do! -- Emmanuel Dreyfus m...@netbsd.org