FIXES 20954
ConstructLocalPath only checks
the first argument (cpath) for needed translation from canonical to
local, but not the relativeTo path, which is simply prepended when
cpath doesn't begin with a '/'.
int
ConstructLocalBinPath(const char *cpath, char **fullPathBufp)
{
- return ConstructLocalPath(cpath, AFSDIR_CANONICAL_SERVER_BIN_DIRPATH,
+ return ConstructLocalPath(cpath, AFSDIR_SERVER_BIN_DIRPATH,
fullPathBufp);
}
int
ConstructLocalLogPath(const char *cpath, char **fullPathBufp)
{
- return ConstructLocalPath(cpath, AFSDIR_CANONICAL_SERVER_LOGS_DIRPATH,
+ return ConstructLocalPath(cpath, AFSDIR_SERVER_LOGS_DIRPATH,
fullPathBufp);
}