Module Name:    src
Committed By:   rillig
Date:           Mon Mar 25 20:39:27 UTC 2024

Modified Files:
        src/common/lib/libutil: snprintb.c
        src/tests/lib/libutil: t_snprintb.c

Log Message:
snprintb: mark the end of the buffer if the buffer is too small

This avoids confusion in case the buffer ends with an incomplete number.

To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/common/lib/libutil/snprintb.c
cvs rdiff -u -r1.30 -r1.31 src/tests/lib/libutil/t_snprintb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to