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: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/alloc.c
Date: Sun, 06 Jul 2003 10:55:00 -0400

Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.308 emacs/src/alloc.c:1.309
*** emacs/src/alloc.c:1.308     Fri Jul  4 16:19:06 2003
--- emacs/src/alloc.c   Sun Jul  6 10:55:00 2003
***************
*** 645,651 ****
  /* BLOCK_ALIGN has to be a power of 2.  */
  #define BLOCK_ALIGN (1 << 10)
  #define BLOCK_BYTES \
!   (BLOCK_ALIGN - sizeof (struct aligned_block *) - ABLOCKS_PADDING)
  
  /* Internal data structures and constants.  */
  
--- 645,651 ----
  /* BLOCK_ALIGN has to be a power of 2.  */
  #define BLOCK_ALIGN (1 << 10)
  #define BLOCK_BYTES \
!   (BLOCK_ALIGN - sizeof (struct alinged_block *) - ABLOCKS_PADDING)
  
  /* Internal data structures and constants.  */
  
***************
*** 676,682 ****
--- 676,684 ----
    struct ablocks *abase;
    /* The padding of all but the last ablock is unused.  The padding of
       the last ablock in an ablocks is not allocated.  */
+ #if ABLOCKS_PADDING
    char padding[ABLOCKS_PADDING];
+ #endif
  };
  
  /* A bunch of consecutive aligned blocks.  */




reply via email to

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