* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
to recognize absolute path.
This commit is contained in:
parent
cdb0b90956
commit
1348f65bb9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue