* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
This commit is contained in:
		| @@ -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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user