# HG changeset patch # User Lars Hansen # Date 1069542078 0 # Node ID e86b5bc46cca450931d9419e0df07782be37cdd8 # Parent 5544010b4c66a3e0773f010caee3c0e6342e0376 (struct the_group): Added. (getgrgid): Added. diff -r 5544010b4c66 -r e86b5bc46cca src/w32.c --- a/src/w32.c Sat Nov 22 23:00:59 2003 +0000 +++ b/src/w32.c Sat Nov 22 23:01:18 2003 +0000 @@ -66,6 +66,7 @@ #include "lisp.h" #include +#include #ifdef __GNUC__ #define _ANONYMOUS_UNION @@ -385,6 +386,13 @@ the_passwd_shell, }; +static struct group the_group = +{ + /* There are no groups on NT, so we just return "root" as the + group name. */ + "root", +}; + int getuid () { @@ -420,6 +428,12 @@ return NULL; } +struct group * +getgrgid (gid_t gid) +{ + return &the_group; +} + struct passwd * getpwnam (char *name) {