* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep

to recognize absolute path.
This commit is contained in:
Corinna Vinschen 2008-12-15 20:53:18 +00:00
parent cdb0b90956
commit 1348f65bb9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-12-15 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
to recognize absolute path.
2008-12-15 Corinna Vinschen <corinna@vinschen.de>
* sec_auth.cc (open_local_policy): Set lsa handle to

View File

@ -3610,7 +3610,7 @@ gen_full_path_at (char *path_ret, int dirfd, const char *pathname,
return -1;
}
}
if (pathname && isdirsep (*pathname))
if (pathname && isabspath (pathname))
stpcpy (path_ret, pathname);
else
{