Commit 4781a41b authored by Julius Plenz's avatar Julius Plenz

Space change

parent 2acc4993
......@@ -256,13 +256,16 @@ FILE *fopen64(const char *path, const char *mode)
int fd;
FILE *fp;
fp = NULL;
if(!_original_fopen64)
_original_fopen64 = (FILE *(*)(const char *, const char *)) dlsym(RTLD_NEXT, "fopen64");
if(_original_fopen64) {
if((fp = _original_fopen64(path, mode)) != NULL)
if((fd = fileno(fp)) != -1)
store_pageinfo(fd);
}
return fp;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment