403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/net/shadowsocks-libev/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/shadowsocks-libev/files/patch-libcork_src_libcork_posix_env.c
--- libcork/src/libcork/posix/env.c.orig	2019-07-24 14:01:14 UTC
+++ libcork/src/libcork/posix/env.c
@@ -194,12 +194,19 @@ cork_env_set_vars(void *user_data, struct cork_hash_ta
  *
  * [1] http://www.gnu.org/software/gnulib/manual/html_node/clearenv.html
  */
+
+#if (defined(__FreeBSD__) && (__FreeBSD__ < 14))
+/* Since FreeBSD 14.0-CURRENT, the clearenv(3) function was added to stdlib.
+ * See https://reviews.freebsd.org/R10:597b02675751e48dd04777f1e91fee382bf3a966
+ */
+
 static void
 clearenv(void)
 {
     *environ = NULL;
 }
 
+#endif
 #else
 /* Otherwise assume that we have clearenv available. */
 #endif

Youez - 2016 - github.com/yon3zu
LinuXploit