Phil Sutter <[email protected]> wrote: > Albeit a bit too enthusiastic, gcc is right in that these strings may be > truncated since the destination buffer is smaller than the source one. > Get rid of the warnings (and the potential problem) by specifying a > string "precision" of one character less than the destination. This > ensures a terminating nul-character may be written as well.
Fernando sent a patch for this already, with the notable difference of altering the size of the destination buffer by one.
