Commit 2ff1f755 authored by Chong Yidong's avatar Chong Yidong
Browse files

* lib-src/ntlib.c (setregid): New stub, renamed from setegid.

* lib-src/ntlib.h: Update prototype.
parent 67442738
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> 2011-01-23 Chong Yidong <cyd@stupidchicken.com>
* movemail.c (main): Use setregid instead of setegid, which is * movemail.c (main): Use setregid instead of setegid, which is
......
...@@ -144,7 +144,7 @@ setuid (unsigned uid) ...@@ -144,7 +144,7 @@ setuid (unsigned uid)
} }
int int
setegid (unsigned gid) setregid (unsigned rgid, unsigned gid)
{ {
return 0; return 0;
} }
......
...@@ -39,7 +39,7 @@ unsigned getuid (); ...@@ -39,7 +39,7 @@ unsigned getuid ();
unsigned getegid (); unsigned getegid ();
unsigned getgid (); unsigned getgid ();
int setuid (unsigned uid); int setuid (unsigned uid);
int setegid (unsigned gid); int setregid (unsigned rgid, unsigned gid);
char * getpass (const char * prompt); char * getpass (const char * prompt);
int fchown (int fd, unsigned uid, unsigned gid); int fchown (int fd, unsigned uid, unsigned gid);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment