git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pipe transport to not use a socket-only syscall. Bug 2257
[exim.git]
/
src
/
src
/
perl.c
diff --git
a/src/src/perl.c
b/src/src/perl.c
index 5f4f0d98dcad7699173bad27b5762d381047de77..5239f3d513943cc94ed3716f2302f02fa9e3ab94 100644
(file)
--- a/
src/src/perl.c
+++ b/
src/src/perl.c
@@
-3,6
+3,7
@@
*************************************************/
/* Copyright (c) 1998 Malcolm Beattie */
*************************************************/
/* Copyright (c) 1998 Malcolm Beattie */
+/* Copyright (C) 1999 - 2018 Exim maintainers */
/* Modified by PH to get rid of the "na" usage, March 1999.
Modified further by PH for general tidying for Exim 4.
/* Modified by PH to get rid of the "na" usage, March 1999.
Modified further by PH for general tidying for Exim 4.
@@
-150,9
+151,8
@@
cleanup_perl(void)
interp_perl = 0;
}
interp_perl = 0;
}
-uschar *
-call_perl_cat(uschar *yield, int *sizep, int *ptrp, uschar **errstrp,
- uschar *name, uschar **arg)
+gstring *
+call_perl_cat(gstring * yield, uschar **errstrp, uschar *name, uschar **arg)
{
dSP;
SV *sv;
{
dSP;
SV *sv;
@@
-186,7
+186,7
@@
call_perl_cat(uschar *yield, int *sizep, int *ptrp, uschar **errstrp,
return NULL;
}
str = US SvPV(sv, len);
return NULL;
}
str = US SvPV(sv, len);
- yield = string_catn(yield, s
izep, ptrp, s
tr, (int)len);
+ yield = string_catn(yield, str, (int)len);
FREETMPS;
LEAVE;
FREETMPS;
LEAVE;