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 /os2 | |
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 'os2')
-rw-r--r-- | os2/os2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |