• Manuel Pégourié-Gonnard's avatar
    Fix snprintf test · 4b00f08e
    Manuel Pégourié-Gonnard authored
    Our Windows implementation based on vsnprintf_s( ..., _TRUNCATE ) sometimes
    writes *two* terminating NULLs. Allow for that, but obviously bytes past the
    end of the buffer mustn't be touched.
    4b00f08e
selftest.c 7.37 KB