mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
In GCC 7 the -Wall infers the new -Wformat-truncation which finds problems with string truncation in functions like snprintf(). This patch fixes a problem in condition parsing for very long PID filenames which might be truncated in internal buffers causing a mismatch in Finit condition tracking. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>