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 [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/alloc.c [emacs-unicode-2]
Date: Tue, 21 Sep 2004 06:13:59 -0400

Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.318.2.8 emacs/src/alloc.c:1.318.2.9
*** emacs/src/alloc.c:1.318.2.8 Wed Sep 15 09:00:00 2004
--- emacs/src/alloc.c   Tue Sep 21 09:34:11 2004
***************
*** 186,193 ****
  
  #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
--- 186,196 ----
  
  #ifndef HAVE_SHM
  
! /* Initialize it to a nonzero value to force it into data space
!    (rather than bss space).  That way unexec will remap it into text
!    space (pure), on some systems.  We have not implemented the
!    remapping on more recent systems because this is less important
!    nowadays than in the days of small memories and timesharing.  */
  
  EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,};
  #define PUREBEG (char *) pure




reply via email to

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