| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 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/misc/libemos/files/ |
Upload File : |
--- interpolation/sharedlib.c.orig 2018-12-14 06:44:18 UTC
+++ interpolation/sharedlib.c
@@ -61,8 +61,8 @@ void *share_file(const char* file) {
char message[1024];
char path[1024];
- struct stat64 s;
- struct stat64 s2;
+ struct stat s;
+ struct stat s2;
int fd = -1;
int err = 0;
void *ptr = NULL;
@@ -183,9 +183,9 @@ void *share_file(const char* file) {
goto error;
}
- if(stat64(path,&s))
+ if(stat(path,&s))
{
- sprintf(message,"ERR: sharedmem:stat64(%s)",path);
+ sprintf(message,"ERR: sharedmem:stat(%s)",path);
err = -1;
goto error;
}