emacs-diffs
[Top][All Lists]
Advanced

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

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


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

Index: emacs/src/mac.c
diff -c emacs/src/mac.c:1.17 emacs/src/mac.c:1.18
*** emacs/src/mac.c:1.17        Mon Sep  1 11:45:56 2003
--- emacs/src/mac.c     Sat Nov 22 18:00:59 2003
***************
*** 30,35 ****
--- 30,36 ----
  #include <sys/stat.h>
  #include <string.h>
  #include <pwd.h>
+ #include <grp.h>
  #include <sys/param.h>
  #include <stdlib.h>
  #include <fcntl.h>
***************
*** 1164,1169 ****
--- 1165,1177 ----
    my_passwd_dir,
  };
  
+ static struct group my_group =
+ {
+   /* There are no groups on the mac, so we just return "root" as the
+      group name.  */
+   "root",
+ };
+ 
  
  /* Initialized by main () in macterm.c to pathname of emacs directory.  */
  
***************
*** 1255,1260 ****
--- 1263,1275 ----
      }
  
    return &my_passwd;
+ }
+ 
+ 
+ struct group *
+ getgrgid (gid_t gid)
+ {
+   return &my_group;
  }
  
  




reply via email to

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