diff options
author | Richard Jones <rjones@redhat.com> | 2010-03-25 19:44:22 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-03-25 19:44:22 +0000 |
commit | 57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6 (patch) | |
tree | f4459d61555fa98804a69391202f118dc71fc7a3 /appliance | |
parent | 3e9d96d246f75bd7d2aa592b84bd6446687cad85 (diff) | |
download | libguestfs-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 'appliance')
0 files changed, 0 insertions, 0 deletions