On Sat, Oct 13, 2012 at 07:52:34AM -0400, Wietse Venema wrote: > > We could for consistency NUL terminate the ints also: > > > > "%lu%c", (unsigned long) i, '\0' > > If strings are separated with a trailer (the *printf equivalent of > ``"%s%c", value, 0''), then the numbers should also be separated > with a trailer, for example "%lu " or ``"%lu%c", value, 0''. > > The null is guaranteed not to appear in the strings or in formatted > numbers, so that would be the safest choice.
Yes, that's it. Thanks, the patch is correct. -- Viktor.