diff options
author | Karl Williamson <khw@cpan.org> | 2018-08-05 06:41:05 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-08-06 10:02:12 -0600 |
commit | f8db7d5b698ee09de200fdee909d6f4ea719ffac (patch) | |
tree | d38212cbf0b26ae7cf95d89a191cc02296d24966 /win32/win32.c | |
parent | 00d976bbd170bbdc283618817b02b1b8f46bddd4 (diff) | |
download | perl-f8db7d5b698ee09de200fdee909d6f4ea719ffac.tar.gz |
Use sv_catpvs where appropriate vs sv_catpv
This moves calculations definitely to compile time; some optimizing
compilers may already do this, but some may not.
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 769a0e11b3..8b2808c6d8 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -438,7 +438,7 @@ win32_get_xlib(const char *pl, WIN32_NO_REGISTRY_M_(const char *xlib) sv1 = sv2; } else if (sv2) { dTHX; - sv_catpv(sv1, ";"); + sv_catpvs(sv1, ";"); sv_catsv(sv1, sv2); } |