diff --git a/checkin_notes b/checkin_notes index a551782a65..ed6f8e1020 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3243,3 +3243,8 @@ Charlie April 15 2008 (HEAD) configure.ac version.h +Charlie April 15 2008 + - API: fix boinc_resolve_filename_s() to handle symlinks the same as + boinc_resolve_filename(). + lib/ + app_ipc.C diff --git a/lib/app_ipc.C b/lib/app_ipc.C index 65a5aa331a..d922324926 100644 --- a/lib/app_ipc.C +++ b/lib/app_ipc.C @@ -350,6 +350,11 @@ int boinc_resolve_filename_s(const char *virtual_name, string& physical_name) { char buf[512], *p; if (!virtual_name) return ERR_NULL; physical_name = virtual_name; +#ifndef _WIN32 + if (is_symlink(virtual_name)) { + return 0; + } +#endif FILE *fp = boinc_fopen(virtual_name, "r"); if (!fp) return ERR_FOPEN; buf[0] = 0;