summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-25 22:45:34 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-25 22:45:34 +0000
commit5cdc4e887c4f945f9ad5780d17851ee07949baed (patch)
treea82b92e282a01ffdaa73a0d164afbda3bdaca32a /embed.fnc
parent7087a21c096179886f18cec5311cc7e897850eef (diff)
downloadperl-5cdc4e887c4f945f9ad5780d17851ee07949baed.tar.gz
Add S_space_join_names_mortal() which joins a char** array with " "s,
replacing 5 instances of the same code. p4raw-id: //depot/perl@27608
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index d5014c49c9..a124e2009d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1256,6 +1256,7 @@ s |int |emulate_eaccess|NN const char* path|Mode_t mode
# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
sR |int |dooneliner |NN const char *cmd|NN const char *filename
# endif
+s |SV * |space_join_names_mortal|NN char *const *array
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)