]> xenbits.xensource.com Git - libvirt.git/commit
util: Improve virStrncpy() implementation
authorAndrea Bolognani <abologna@redhat.com>
Fri, 20 Jul 2018 11:00:44 +0000 (13:00 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 23 Jul 2018 12:27:37 +0000 (14:27 +0200)
commit7d70a63b947e9a654a4e3fffa0ffa355f5549ec7
tree1007c10fff17cb3553860baad075023e0b2a7348
parent19136bbf10b6a49711e097cc23b0d25fa38b39f3
util: Improve virStrncpy() implementation

We finally get rid of the strncpy()-like semantics
and implement our own, more sensible ones instead.

As a bonus, this also fixes compilation on MinGW.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
docs/hacking.html.in
src/util/virstring.c