emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c
Date: Fri, 30 Sep 2005 18:38:25 -0400

Index: emacs/src/emacs.c
diff -c emacs/src/emacs.c:1.375 emacs/src/emacs.c:1.376
*** emacs/src/emacs.c:1.375     Thu Sep 15 13:12:48 2005
--- emacs/src/emacs.c   Fri Sep 30 22:38:15 2005
***************
*** 148,154 ****
  /* From glibc, a routine that returns a copy of the malloc internal state.  */
  extern void *malloc_get_state ();
  /* From glibc, a routine that overwrites the malloc internal state.  */
! extern void malloc_set_state ();
  /* Non-zero if the MALLOC_CHECK_ enviroment variable was set while
     dumping.  Used to work around a bug in glibc's malloc.  */
  int malloc_using_checking;
--- 148,154 ----
  /* From glibc, a routine that returns a copy of the malloc internal state.  */
  extern void *malloc_get_state ();
  /* From glibc, a routine that overwrites the malloc internal state.  */
! extern int malloc_set_state ();
  /* Non-zero if the MALLOC_CHECK_ enviroment variable was set while
     dumping.  Used to work around a bug in glibc's malloc.  */
  int malloc_using_checking;
***************
*** 1001,1007 ****
        && !getrlimit (RLIMIT_STACK, &rlim))
      {
        long newlim;
!       extern int re_max_failures;
        /* Approximate the amount regex.c needs per unit of re_max_failures.  */
        int ratio = 20 * sizeof (char *);
        /* Then add 33% to cover the size of the smaller stacks that regex.c
--- 1001,1007 ----
        && !getrlimit (RLIMIT_STACK, &rlim))
      {
        long newlim;
!       extern size_t re_max_failures;
        /* Approximate the amount regex.c needs per unit of re_max_failures.  */
        int ratio = 20 * sizeof (char *);
        /* Then add 33% to cover the size of the smaller stacks that regex.c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]