403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
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/net/netmap/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/netmap/files/patch-belgolib__files.c
--- belgolib/files.c.orig	2010-01-06 08:00:52.000000000 +0900
+++ belgolib/files.c	2011-11-23 22:22:36.000000000 +0900
@@ -17,8 +17,8 @@
 
 Infile::Infile() : ifstream() { }
 
-Infile::Infile(const string& file_name, int mode, bool fatal)
-    : ifstream(file_name.c_str(), (std::_Ios_Openmode)mode)
+Infile::Infile(const string& file_name, ios::openmode mode, bool fatal)
+    : ifstream(file_name.c_str(), (std::ios_base::openmode)mode)
 {
 
     if(cdb>d_list)
@@ -39,7 +39,7 @@
 }
 
 
-int Infile::Open(const string & file_name, int mode, bool fatal)
+int Infile::Open(const string & file_name, ios::openmode mode, bool fatal)
 {
     
     if(cdb>d_list)
@@ -49,7 +49,7 @@
 	//file is open, close it first
 	close();
 
-    open(file_name.c_str(), (std::_Ios_Openmode)mode);
+    open(file_name.c_str(), (std::ios_base::openmode)mode);
 
     if(int error_nr = check_open())  { 
 	if(cdb>d_list)

Youez - 2016 - github.com/yon3zu
LinuXploit