On 2026-02-20 15:47, Bruno Haible via Gnulib discussion list wrote:
   * The purpose of this code is NOT to get a pointer to the NUL byte.
     It is to get a pointer to the last substring of length 4 of the string.

Right, and if we're going to change that kind of code, I suggest this:

  bool output_is_library = str_endswith (output_file, ".dll");

instead of using strnul.

Reply via email to