/[emacs]/emacs/src/emacs.c
ViewVC logotype

Diff of /emacs/src/emacs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.345 by schwab, Sun Nov 7 01:57:27 2004 UTC revision 1.346 by jhd, Sun Nov 7 21:59:19 2004 UTC
# Line 2179  You must run Emacs in batch mode in orde Line 2179  You must run Emacs in batch mode in orde
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

Legend:
Removed from v.1.345  
changed lines
  Added in v.1.346

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26