diff options
| author | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
| commit | e417405015c93c81641f5c4a33ec898b5c353772 (patch) | |
| tree | 017a980c35c8a71c372304418d151e3826f88636 /src/emacs.c | |
| parent | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (diff) | |
| parent | 68d1b30d251b4771f739d20f507cd9523ae3919b (diff) | |
| download | emacs-e417405015c93c81641f5c4a33ec898b5c353772.tar.gz emacs-e417405015c93c81641f5c4a33ec898b5c353772.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-673
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-674
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-675
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-676
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-677
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-681
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-682
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-683
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-684
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-685
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-686
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-687
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-692
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-693
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-267
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/emacs.c b/src/emacs.c index ab60df39e27..356f74204bf 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1621,16 +1621,14 @@ main (argc, argv | |||
| 1621 | keys_of_minibuf (); | 1621 | keys_of_minibuf (); |
| 1622 | keys_of_window (); | 1622 | keys_of_window (); |
| 1623 | } | 1623 | } |
| 1624 | else | 1624 | else |
| 1625 | { | 1625 | { |
| 1626 | /* | 1626 | /* Initialization that must be done even if the global variable |
| 1627 | Initialization that must be done even if the global variable | 1627 | initialized is non zero. */ |
| 1628 | initialized is non zero | ||
| 1629 | */ | ||
| 1630 | #ifdef HAVE_NTGUI | 1628 | #ifdef HAVE_NTGUI |
| 1631 | globals_of_w32fns (); | 1629 | globals_of_w32fns (); |
| 1632 | globals_of_w32menu (); | 1630 | globals_of_w32menu (); |
| 1633 | #endif /* end #ifdef HAVE_NTGUI */ | 1631 | #endif /* HAVE_NTGUI */ |
| 1634 | } | 1632 | } |
| 1635 | 1633 | ||
| 1636 | init_process (); /* init_display uses add_keyboard_wait_descriptor. */ | 1634 | init_process (); /* init_display uses add_keyboard_wait_descriptor. */ |
| @@ -2180,16 +2178,19 @@ You must run Emacs in batch mode in order to dump it. */) | |||
| 2180 | if (! noninteractive) | 2178 | if (! noninteractive) |
| 2181 | error ("Dumping Emacs works only in batch mode"); | 2179 | error ("Dumping Emacs works only in batch mode"); |
| 2182 | 2180 | ||
| 2181 | #ifdef __linux__ | ||
| 2183 | if (heap_bss_diff > MAX_HEAP_BSS_DIFF) | 2182 | if (heap_bss_diff > MAX_HEAP_BSS_DIFF) |
| 2184 | { | 2183 | { |
| 2185 | fprintf (stderr, "**************************************************\n"); | 2184 | fprintf (stderr, "**************************************************\n"); |
| 2186 | fprintf (stderr, "Warning: Your system has a gap between BSS and the\n"); | 2185 | fprintf (stderr, "Warning: Your system has a gap between BSS and the\n"); |
| 2187 | fprintf (stderr, "heap. This usually means that exec-shield or\n"); | 2186 | fprintf (stderr, "heap (%lu byte). This usually means that exec-shield\n", |
| 2188 | fprintf (stderr, "something similar is in effect. The dump may fail\n"); | 2187 | heap_bss_diff); |
| 2189 | fprintf (stderr, "because of this. See the section about exec-shield\n"); | 2188 | fprintf (stderr, "or something similar is in effect. The dump may\n"); |
| 2190 | fprintf (stderr, "in etc/PROBLEMS for more information.\n"); | 2189 | fprintf (stderr, "fail because of this. See the section about \n"); |
| 2190 | fprintf (stderr, "exec-shield in etc/PROBLEMS for more information.\n"); | ||
| 2191 | fprintf (stderr, "**************************************************\n"); | 2191 | fprintf (stderr, "**************************************************\n"); |
| 2192 | } | 2192 | } |
| 2193 | #endif /* __linux__ */ | ||
| 2193 | 2194 | ||
| 2194 | /* Bind `command-line-processed' to nil before dumping, | 2195 | /* Bind `command-line-processed' to nil before dumping, |
| 2195 | so that the dumped Emacs will process its command line | 2196 | so that the dumped Emacs will process its command line |
| @@ -2278,7 +2279,7 @@ synchronize_locale (category, plocale, desired_locale) | |||
| 2278 | { | 2279 | { |
| 2279 | *plocale = desired_locale; | 2280 | *plocale = desired_locale; |
| 2280 | setlocale (category, (STRINGP (desired_locale) | 2281 | setlocale (category, (STRINGP (desired_locale) |
| 2281 | ? (char *)(SDATA (desired_locale)) | 2282 | ? (char *) SDATA (desired_locale) |
| 2282 | : "")); | 2283 | : "")); |
| 2283 | } | 2284 | } |
| 2284 | } | 2285 | } |