citrix-receiver: init at 13.2.1, fixes #8458

This commit is contained in:
obadz
2015-11-11 22:27:15 +01:00
committed by Rok Garbas
parent 8c38d92139
commit 972381b66a
3 changed files with 166 additions and 0 deletions
@@ -97,6 +97,13 @@ FILE * fopen(const char * path, const char * mode)
return fopen_real(rewrite(path, buf), mode);
}
FILE * fopen64(const char * path, const char * mode)
{
FILE * (*fopen64_real) (const char *, const char *) = dlsym(RTLD_NEXT, "fopen64");
char buf[PATH_MAX];
return fopen64_real(rewrite(path, buf), mode);
}
int __xstat(int ver, const char * path, struct stat * st)
{
int (*__xstat_real) (int ver, const char *, struct stat *) = dlsym(RTLD_NEXT, "__xstat");