Mercurial > emacs
annotate src/firstfile.c @ 83486:fc6efa09ea7a
Fix segfault by `C-x 5 2' on the controlling tty. (Reported by Suresh Madhu.)
* src/frame.c (Fmake_terminal_frame): Handle NULL tty names correctly.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-526
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 08 Mar 2006 16:47:48 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
19794 | 1 /* Mark beginning of data space to dump as pure, for GNU Emacs. |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64770
diff
changeset
|
2 Copyright (C) 1997, 2002, 2003, 2004, 2005, |
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64770
diff
changeset
|
3 2006 Free Software Foundation, Inc. |
19794 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 2, or (at your option) | |
10 any later version. | |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64084 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
19794 | 21 |
22 | |
23 #include <config.h> | |
24 | |
25 #ifdef WINDOWSNT | |
26 /* See comments in lastfile.c. */ | |
27 char my_begdata[] = "Beginning of Emacs initialized data"; | |
28 char my_begbss[1]; /* Do not initialize this variable. */ | |
29 static char _my_begbss[1]; | |
30 char * my_begbss_static = _my_begbss; | |
31 | |
32 /* Add a dummy reference to ensure emacs.obj is linked in. */ | |
33 extern int initialized; | |
34 static int * dummy = &initialized; | |
35 #endif | |
36 | |
52401 | 37 /* arch-tag: a6c0d2dd-00c3-4ba5-95a5-9c8ab82f39b2 |
38 (do not change this comment) */ |