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/print/lprps/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/print/lprps/files/patch-psof.c
--- psof.c.orig	1993-02-22 21:46:11.000000000 +0900
+++ psof.c	2013-04-27 23:05:56.000000000 +0900
@@ -11,11 +11,14 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <strings.h>
 #include <signal.h>
 #include <syslog.h>
 #include <errno.h>
 #include <ctype.h>
+#include <unistd.h>
 
 #ifndef errno
 extern int errno;
@@ -216,7 +219,7 @@
     if ((status & 0xff) != 0) {
       int sig = status & 0x7f;
       if (sig < NSIG) {
-	extern char *sys_siglist[];
+	/* extern char *sys_siglist[]; */
 	syslog(LOG_ERR, "%s: %s%s", LPRPS, sys_siglist[sig],
 	       (status & 0x80) ? " (core dumped)" : "");
       }

Youez - 2016 - github.com/yon3zu
LinuXploit