/[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.375 by rms, Thu Sep 15 13:12:48 2005 UTC revision 1.376 by dann, Fri Sep 30 22:38:15 2005 UTC
# Line 148  void *malloc_state_ptr; Line 148  void *malloc_state_ptr;
148  /* From glibc, a routine that returns a copy of the malloc internal state.  */  /* From glibc, a routine that returns a copy of the malloc internal state.  */
149  extern void *malloc_get_state ();  extern void *malloc_get_state ();
150  /* From glibc, a routine that overwrites the malloc internal state.  */  /* From glibc, a routine that overwrites the malloc internal state.  */
151  extern void malloc_set_state ();  extern int malloc_set_state ();
152  /* Non-zero if the MALLOC_CHECK_ enviroment variable was set while  /* Non-zero if the MALLOC_CHECK_ enviroment variable was set while
153     dumping.  Used to work around a bug in glibc's malloc.  */     dumping.  Used to work around a bug in glibc's malloc.  */
154  int malloc_using_checking;  int malloc_using_checking;
# Line 1001  main (argc, argv Line 1001  main (argc, argv
1001        && !getrlimit (RLIMIT_STACK, &rlim))        && !getrlimit (RLIMIT_STACK, &rlim))
1002      {      {
1003        long newlim;        long newlim;
1004        extern int re_max_failures;        extern size_t re_max_failures;
1005        /* Approximate the amount regex.c needs per unit of re_max_failures.  */        /* Approximate the amount regex.c needs per unit of re_max_failures.  */
1006        int ratio = 20 * sizeof (char *);        int ratio = 20 * sizeof (char *);
1007        /* Then add 33% to cover the size of the smaller stacks that regex.c        /* Then add 33% to cover the size of the smaller stacks that regex.c

Legend:
Removed from v.1.375  
changed lines
  Added in v.1.376

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