projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491d66a
)
[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID].
3.71
author
Roland McGrath
<roland@redhat.com>
Sat, 21 May 1994 20:28:10 +0000
(20:28 +0000)
committer
Roland McGrath
<roland@redhat.com>
Sat, 21 May 1994 20:28:10 +0000
(20:28 +0000)
Every system has those, and configure doesn't check for them.
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index
0b8c3cd
..
fa16c89
100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-461,10
+461,10
@@
dep_name (dep)
setregid functions, but they don't work as in BSD and only the POSIX.1
way works. */
-#if
defined (HAVE_SETREUID) && defined (HAVE_SETUID)
+#if
ndef HAVE_SETREUID
#undef HAVE_SETREUID
#endif
-#if
defined (HAVE_SETREGID) && defined (HAVE_SETGID)
+#if
ndef HAVE_SETREGID
#undef HAVE_SETREGID
#endif