diff options
author | Yves Orton <demerphq@gmail.com> | 2016-10-19 11:01:08 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2016-10-19 13:28:00 +0200 |
commit | 854da30f7a12360c4116d0fe1bbfd4154f69ba24 (patch) | |
tree | bba3afb77649b82a23c2500660284093b9c60e16 /perl.h | |
parent | 2808d9d83c4e997cfe6f2f74160017418f7db638 (diff) | |
download | perl-854da30f7a12360c4116d0fe1bbfd4154f69ba24.tar.gz |
perl.[ch]: switch to using SvPVCLEAR() and string constant friendly macros
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1277,7 +1277,7 @@ EXTERN_C char *crypt(const char *, const char *); *svp = newSVpvs(""); \ } else { \ SV *const errsv = *svp; \ - sv_setpvs(errsv, ""); \ + SvPVCLEAR(errsv); \ SvPOK_only(errsv); \ if (SvMAGICAL(errsv)) { \ mg_free(errsv); \ |