* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
This commit is contained in:
parent
efc1575ecd
commit
839b294201
|
@ -1,3 +1,7 @@
|
|||
2002-06-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
|
||||
|
||||
2002-06-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* autoload.cc (NetGetDCName): Change to make this an optional load
|
||||
|
|
|
@ -308,7 +308,7 @@ cygheap_user::test_uid (char *&what, const char *name, size_t namelen)
|
|||
{
|
||||
if (what)
|
||||
return what;
|
||||
if (orig_uid == myself->uid)
|
||||
if (!issetuid ())
|
||||
what = getwinenveq (name, namelen, HEAP_STR);
|
||||
return what;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue