2179 |
if (! noninteractive) |
if (! noninteractive) |
2180 |
error ("Dumping Emacs works only in batch mode"); |
error ("Dumping Emacs works only in batch mode"); |
2181 |
|
|
2182 |
|
#ifdef __linux__ |
2183 |
if (heap_bss_diff > MAX_HEAP_BSS_DIFF) |
if (heap_bss_diff > MAX_HEAP_BSS_DIFF) |
2184 |
{ |
{ |
2185 |
fprintf (stderr, "**************************************************\n"); |
fprintf (stderr, "**************************************************\n"); |
2186 |
fprintf (stderr, "Warning: Your system has a gap between BSS and the\n"); |
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"); |
fprintf (stderr, "heap (%d byte). This usually means that exec-shield\n", |
2188 |
fprintf (stderr, "something similar is in effect. The dump may fail\n"); |
heap_bss_diff); |
2189 |
fprintf (stderr, "because of this. See the section about exec-shield\n"); |
fprintf (stderr, "or something similar is in effect. The dump may\n"); |
2190 |
fprintf (stderr, "in etc/PROBLEMS for more information.\n"); |
fprintf (stderr, "fail because of this. See the section about \n"); |
2191 |
|
fprintf (stderr, "exec-shield in etc/PROBLEMS for more information.\n"); |
2192 |
fprintf (stderr, "**************************************************\n"); |
fprintf (stderr, "**************************************************\n"); |
2193 |
} |
} |
2194 |
|
#endif /* __linux__ */ |
2195 |
|
|
2196 |
/* Bind `command-line-processed' to nil before dumping, |
/* Bind `command-line-processed' to nil before dumping, |
2197 |
so that the dumped Emacs will process its command line |
so that the dumped Emacs will process its command line |