Server IP : 162.213.251.208 / Your IP : 18.116.8.14 Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : jmoroovq ( 1890) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/src/cxx_supportlib/FileTools/ |
Upload File : |
#ifndef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 #endif #ifndef _LARGE_FILES #define _LARGE_FILES 1 #endif #ifndef _LARGEFILE_SOURCE #define _LARGEFILE_SOURCE #endif #ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE #endif #include <FileTools/LargeFiles.h> #include <stdio.h> #include <stdlib.h> namespace Passenger { ::FILE * lfs_fopen(const char *filename, const char *mode) { return fopen(filename, mode); } ::FILE * lfs_fdopen(int filedes, const char *mode) { return fdopen(filedes, mode); } int lfs_mkstemp(char *templ) { #ifdef __linux__ return mkstemp64(templ); #else return mkstemp(templ); #endif } } // namespace Passenger