* lib-src/ntlib.c (setregid): New stub, renamed from setegid.
* lib-src/ntlib.h: Update prototype.
This commit is contained in:
parent
6744273893
commit
2ff1f755a2
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-01-28 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* ntlib.c (setregid): New stub, renamed from setegid.
|
||||
|
||||
* ntlib.h: Update prototype.
|
||||
|
||||
2011-01-23 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* movemail.c (main): Use setregid instead of setegid, which is
|
||||
|
|
|
@ -144,7 +144,7 @@ setuid (unsigned uid)
|
|||
}
|
||||
|
||||
int
|
||||
setegid (unsigned gid)
|
||||
setregid (unsigned rgid, unsigned gid)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ unsigned getuid ();
|
|||
unsigned getegid ();
|
||||
unsigned getgid ();
|
||||
int setuid (unsigned uid);
|
||||
int setegid (unsigned gid);
|
||||
int setregid (unsigned rgid, unsigned gid);
|
||||
char * getpass (const char * prompt);
|
||||
int fchown (int fd, unsigned uid, unsigned gid);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue