Mercurial > emacs
annotate mac/inc/grp.h @ 83361:39de99cd3f08
Prevent resource allocation explosion when C-x 5 2 is used on xterms.
* lisp/term/xterm.el (terminal-init-xterm): Protect function-key-map
against multiple invocations on the same terminal.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-401
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 07 Sep 2005 23:17:07 +0000 |
parents | 3723093a21fd |
children | 067115a6e738 2d92f5c9d6ae |
rev | line source |
---|---|
53148 | 1 /* Replacement grp.h file for building GNU Emacs on the Macintosh. |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
53148 | 3 |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
8 the Free Software Foundation; either version 2, or (at your option) | |
9 any later version. | |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 Boston, MA 02110-1301, USA. */ | |
53148 | 20 |
21 #ifndef _GRP_H | |
22 #define _GRP_H | |
23 | |
24 #include <sys/types.h> | |
25 | |
26 /* Emacs uses only gr_name */ | |
27 struct group { | |
28 char *gr_name; /* group name */ | |
29 }; | |
30 | |
31 struct group *getgrgid(gid_t); | |
32 | |
33 #endif /* _GRP_H */ | |
53155 | 34 |
35 /* arch-tag: 3b1d3315-05d5-4c7a-8404-3754bb40020c | |
36 (do not change this comment) */ |