diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-30 03:45:07 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-30 03:45:07 +0400 |
commit | 839b294201a0f356f54a6898a04b8b03cb69ed92 (patch) | |
tree | 894bfc971ffdf3c40a097aad630ed9c8a9ed5943 /winsup/cygwin/uinfo.cc | |
parent | efc1575ecd6c005883f5e4bb292a6a33a4c17b2a (diff) |
* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 2b506bde9..cd39097d5 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -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; } |