summaryrefslogtreecommitdiffstats
path: root/daemon/lvm.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-03-25 19:44:22 +0000
committerRichard Jones <rjones@redhat.com>2010-03-25 19:44:22 +0000
commit57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6 (patch)
treef4459d61555fa98804a69391202f118dc71fc7a3 /daemon/lvm.c
parent3e9d96d246f75bd7d2aa592b84bd6446687cad85 (diff)
downloadlibguestfs-57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6.tar.gz
libguestfs-57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6.tar.xz
libguestfs-57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6.zip
perl: use newSVpvn for variable length strings.
Previously we used newSVpv (str, len), but if len == 0 then this means Perl tries to calculate the string length using strlen(3). This is not desirable when we know the length, in which case we should use newSVpvn instead.
Diffstat (limited to 'daemon/lvm.c')
0 files changed, 0 insertions, 0 deletions