emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32.c


From: Lars Hansen
Subject: [Emacs-diffs] Changes to emacs/src/w32.c
Date: Sat, 22 Nov 2003 18:01:18 -0500

Index: emacs/src/w32.c
diff -c emacs/src/w32.c:1.85 emacs/src/w32.c:1.86
*** emacs/src/w32.c:1.85        Mon Sep  1 11:45:57 2003
--- emacs/src/w32.c     Sat Nov 22 18:01:18 2003
***************
*** 66,71 ****
--- 66,72 ----
  #include "lisp.h"
  
  #include <pwd.h>
+ #include <grp.h>
  
  #ifdef __GNUC__
  #define _ANONYMOUS_UNION
***************
*** 385,390 ****
--- 386,398 ----
    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 ()
  {
***************
*** 418,423 ****
--- 426,437 ----
    if (uid == the_passwd.pw_uid)
      return &the_passwd;
    return NULL;
+ }
+ 
+ struct group *
+ getgrgid (gid_t gid)
+ {
+   return &the_group;
  }
  
  struct passwd *




reply via email to

[Prev in Thread] Current Thread [Next in Thread]