Ángel González <[email protected]> writes: > On 21/10/14 09:50, Giuseppe Scrivano wrote: >> Ángel, >> thanks for the debugging effort! Would you mind to send a separate >> patch that doesn't use strncpy (so to make make dist-check happy), >> probably we can just use memcpy here. >> >> Regards, >> Giuseppe > The revert to the old behavior was only intended for checking it was the > right place. We have xstrndup() to do just what we want. Please test.
in any case this part is wrong as it changes how the function works, and I think we should fix it anyway. Good idea to use xstrndup. Regards, Giuseppe
