Skip to content

Commit

Permalink
* lib-src/ntlib.c (setregid): New stub, renamed from setegid.
Browse files Browse the repository at this point in the history
* lib-src/ntlib.h: Update prototype.
  • Loading branch information
Chong Yidong committed Jan 28, 2011
1 parent 6dfc956 commit 3cf30c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions lib-src/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib-src/ntlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ setuid (unsigned uid)
}

int
setegid (unsigned gid)
setregid (unsigned rgid, unsigned gid)
{
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion lib-src/ntlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3cf30c4

Please sign in to comment.