From f8db7d5b698ee09de200fdee909d6f4ea719ffac Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 5 Aug 2018 06:41:05 -0600 Subject: 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. --- os2/os2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os2') 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 */ -- cgit v1.2.1