OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8163e07
)
* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
author
cgf
<cgf>
Sat, 29 Jun 2002 23:45:07 +0000
(23:45 +0000)
committer
cgf
<cgf>
Sat, 29 Jun 2002 23:45:07 +0000
(23:45 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/uinfo.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
87ac1a3
..
09e6a27
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,5
+1,9
@@
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
function.
* cygheap.h (cygheap_user::logsrv): Return NULL when operation fails.
diff --git
a/winsup/cygwin/uinfo.cc
b/winsup/cygwin/uinfo.cc
index
2b506bd
..
cd39097
100644
(file)
--- 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;
}