mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
d46e843c20
Reported by: QAT
20 lines
355 B
C
20 lines
355 B
C
--- 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
|
|
*/
|