emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: [Emacs-diffs] Changes to emacs/src/alloc.c
Date: Mon, 14 Jul 2003 01:37:52 -0400

Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.314 emacs/src/alloc.c:1.315
*** emacs/src/alloc.c:1.314     Sun Jul 13 22:51:08 2003
--- emacs/src/alloc.c   Mon Jul 14 01:37:52 2003
***************
*** 185,193 ****
  
  #ifndef HAVE_SHM
  
! /* Force it into data space! */
  
! EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {0,};
  #define PUREBEG (char *) pure
  
  #else /* HAVE_SHM */
--- 185,194 ----
  
  #ifndef HAVE_SHM
  
! /* Force it into data space!  Initialize it to a nonzero value;
!    otherwise some compilers put it into BSS.  */
  
! EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,};
  #define PUREBEG (char *) pure
  
  #else /* HAVE_SHM */
***************
*** 404,413 ****
  
  struct gcpro *gcprolist;
  
! /* Addresses of staticpro'd variables.  */
  
  #define NSTATICS 1280
! Lisp_Object *staticvec[NSTATICS] = {0};
  
  /* Index of next unused slot in staticvec.  */
  
--- 405,415 ----
  
  struct gcpro *gcprolist;
  
! /* Addresses of staticpro'd variables.  Initialize it to a nonzero
!    value; otherwise some compilers put it into BSS.  */
  
  #define NSTATICS 1280
! Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag};
  
  /* Index of next unused slot in staticvec.  */
  




reply via email to

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