summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-08-05 06:41:05 -0600
committerKarl Williamson <khw@cpan.org>2018-08-06 10:02:12 -0600
commitf8db7d5b698ee09de200fdee909d6f4ea719ffac (patch)
treed38212cbf0b26ae7cf95d89a191cc02296d24966 /os2
parent00d976bbd170bbdc283618817b02b1b8f46bddd4 (diff)
downloadperl-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 'os2')
-rw-r--r--os2/os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os2/os2.c b/os2/os2.c
index 54c7ef18d9..ae987cb06f 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -1151,7 +1151,7 @@ do_spawn_ve(pTHX_ SV *really, const char **argv, U32 flag, U32 execf, char *inic
documentation, DosQueryAppType sometimes (?)
does not append ".exe", so we could have
reached this place). */
- sv_catpv(scrsv, ".exe");
+ sv_catpvs(scrsv, ".exe");
argv[0] = scr = SvPV(scrsv, n_a); /* Reload */
if (PerlLIO_stat(scr,&statbuf) >= 0
&& !S_ISDIR(statbuf.st_mode)) { /* Found */