diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-08 14:47:59 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-08 14:47:59 +0000 |
commit | 13a13f5ab7298492711ee8ff65f79eba6ea13269 (patch) | |
tree | cc289110af66ea3c0f6c84841c818242dcdf4b97 /URPM.xs | |
parent | d29115d6bdf44b1bd35eb5b598e2e056cc752633 (diff) | |
download | perl-URPM-13a13f5ab7298492711ee8ff65f79eba6ea13269.tar perl-URPM-13a13f5ab7298492711ee8ff65f79eba6ea13269.tar.gz perl-URPM-13a13f5ab7298492711ee8ff65f79eba6ea13269.tar.bz2 perl-URPM-13a13f5ab7298492711ee8ff65f79eba6ea13269.tar.xz perl-URPM-13a13f5ab7298492711ee8ff65f79eba6ea13269.zip |
0.08-2mdk
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1632,9 +1632,10 @@ Pkg_set_rflags(pkg, ...) STRLEN len; char *s = SvPV(ST(i), len); memcpy(new_rflags + total_len, s, len); - new_rflags[total_len + len] = 0; + new_rflags[total_len + len] = '\t'; total_len += len + 1; } + new_rflags[total_len - 1] = 0; /* but mark end-of-string correctly */ if (gimme == G_ARRAY && pkg->rflags != NULL) { char *s = pkg->rflags; |