diff options
Diffstat (limited to 'lang/eperl/files/extra-patch-eperl_parse.c')
-rw-r--r-- | lang/eperl/files/extra-patch-eperl_parse.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/eperl/files/extra-patch-eperl_parse.c b/lang/eperl/files/extra-patch-eperl_parse.c new file mode 100644 index 000000000000..ca2e3af50a83 --- /dev/null +++ b/lang/eperl/files/extra-patch-eperl_parse.c @@ -0,0 +1,19 @@ +--- eperl_parse.c.orig 2009-01-29 16:05:29.000000000 -0500 ++++ eperl_parse.c 2009-01-29 16:05:37.000000000 -0500 +@@ -326,16 +326,6 @@ + return NULL; + } + +-char *strndup(char *buf, int n) +-{ +- char *cp; +- +- cp = (char *)malloc(n+1); +- strncpy(cp, buf, n); +- return cp; +-} +- +- + /* + ** convert buffer from bristled format to plain format + */ |