Phil Sutter <phil@xxxxxx> wrote: > - use snprintf(), > - use strlcpy() from libbsd or > - introduce a poor-man's strlcpy() macro/function. > > What would you prefer? Leave everything as-is, one of the above or > something completely different? :) I don't really care that much, I'd avoid adding new dependency if possible. Looks like this is a recurring issue so i'd probably go for 3).