Mercurial > emacs
annotate nt/inc/pwd.h @ 83367:2b5fb28780be
Fix `emacsclient -ne '(+ 2 2)'' (reported by Han Boetes), and clean up some corner cases in Emacs server.
* lib-src/emacsclient.c (decode_options): Make --no-wait imply
--current-frame, except when it is the only option given. Make sure no
frame is opened when --current-frame is set.
(main): Pass --current-frame to server.el.
* lisp/server.el (server-process-filter): Handle -current-frame command.
Don't create frames when it is given. Don't bind X frames to the
client when we are in -no-wait mode.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-407
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 10 Sep 2005 23:51:08 +0000 |
parents | 2d45521f8f6d |
children | 01137c1fdbe9 06ca3efb355b |
rev | line source |
---|---|
11766 | 1 #ifndef _PWD_H_ |
2 #define _PWD_H_ | |
3 /* | |
4 * pwd.h doesn't exist on NT, so we put together our own. | |
5 */ | |
6 | |
7 struct passwd { | |
8 char *pw_name; | |
9 char *pw_passwd; | |
10 int pw_uid; | |
11 int pw_gid; | |
12 int pw_quota; | |
13 char *pw_gecos; | |
14 char *pw_dir; | |
15 char *pw_shell; | |
16 }; | |
17 | |
39823
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
18 typedef int uid_t; |
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
19 typedef uid_t gid_t; |
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
20 |
63019
2d45521f8f6d
(getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
21 struct passwd * getpwnam (char *); |
2d45521f8f6d
(getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
22 struct passwd * getpwuid (int); |
2d45521f8f6d
(getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
23 |
2d45521f8f6d
(getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
24 |
11766 | 25 #endif /* _PWD_H_ */ |
52401 | 26 |
27 /* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf | |
28 (do not change this comment) */ |