mirror of
https://github.com/mirror/make.git
synced 2025-01-01 07:50:52 +08:00
Formerly misc.c.~17~
This commit is contained in:
parent
8ca2f785e2
commit
5382f6d197
4
misc.c
4
misc.c
@ -481,14 +481,14 @@ dep_name (dep)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(POSIX) && !defined(__GNU_LIBRARY__)
|
#ifndef HAVE_UNISTD_H
|
||||||
extern int getuid (), getgid (), geteuid (), getegid ();
|
extern int getuid (), getgid (), geteuid (), getegid ();
|
||||||
#ifdef USG
|
#ifdef USG
|
||||||
extern int setuid (), setgid ();
|
extern int setuid (), setgid ();
|
||||||
#else
|
#else
|
||||||
extern int setreuid (), setregid ();
|
extern int setreuid (), setregid ();
|
||||||
#endif /* USG. */
|
#endif /* USG. */
|
||||||
#endif /* Not POSIX and not GNU C library. */
|
#endif /* No <unistd.h>. */
|
||||||
|
|
||||||
/* Keep track of the user and group IDs for user- and make- access. */
|
/* Keep track of the user and group IDs for user- and make- access. */
|
||||||
static int user_uid = -1, user_gid = -1, make_uid = -1, make_gid = -1;
|
static int user_uid = -1, user_gid = -1, make_uid = -1, make_gid = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user