annotate mac/inc/alloca.h @ 83498:f0987e2f27e2

Clean up tty device handling. Change name of controlling tty from nil to "/dev/tty". * src/term.c: Include errno.h. (Fcontrolling_tty_p): Compare name with "/dev/tty", not NULL. (Fresume_tty): Handle errors on reopening ttys. Don't dissociate if terminal was explicitly opened on the controlling terminal. (init_tty): Initialize local pointers. Always set name (use "/dev/tty" for controlling tty.) Remove special case for name == NULL. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-538
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 26 Mar 2006 16:05:17 +0000
parents 067115a6e738
children 3d45362f1d38 c5406394f567
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68648
067115a6e738 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64890
diff changeset
1 /* Copyright (C) 2001, 2002, 2003, 2004, 2005,
067115a6e738 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64890
diff changeset
2 2006 Free Software Foundation, Inc.
36233
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
3
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
4 This file is part of GNU Emacs.
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
5
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify it
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
7 under the terms of the GNU General Public License as published by the
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
9 later version.
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
10
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful, but
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
12 WITHOUT ANY WARRANTY; without even the implied warranty of
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
14 General Public License for more details.
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
15
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
16 You should have received a copy of the GNU General Public License
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to the Free
64092
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
18 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
19 MA 02110-1301, USA. */
36233
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
20
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 36233
diff changeset
21 /* Contributed by Andrew Choi (akochoi@mac.com). */
36233
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
22
32752
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
23 #ifndef _ALLOCA_H_
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
24 #define _ALLOCA_H_
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
25
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
26 #if __MRC__
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
27 void *__alloca(size_t size);
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
28 #endif
923b8d6d8277 Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff changeset
29
36233
fb3498282d71 Added copyright notice.
Andrew Choi <akochoi@shaw.ca>
parents: 32752
diff changeset
30 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44890
diff changeset
31
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44890
diff changeset
32 /* arch-tag: 8d4114d1-633e-49e7-8f18-b5648f9c4511
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44890
diff changeset
33 (do not change this comment) */