emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107921: * alloc.c: Remove one inc


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107921: * alloc.c: Remove one incorrect comment and fix another.
Date: Fri, 02 Nov 2012 01:47:08 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 107921
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2012-04-15 23:39:21 -0700
message:
  * alloc.c: Remove one incorrect comment and fix another.
modified:
  src/ChangeLog
  src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-04-16 03:38:40 +0000
+++ b/src/ChangeLog     2012-04-16 06:39:21 +0000
@@ -8,6 +8,7 @@
        GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used.
        (NEED_MEM_INSERT): New macro.
        (mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
+       Remove one incorrect comment and fix another.
 
        Fix minor ralloc.c problems found by static checking.
        See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html

=== modified file 'src/alloc.c'
--- a/src/alloc.c       2012-04-16 03:38:40 +0000
+++ b/src/alloc.c       2012-04-16 06:39:21 +0000
@@ -948,9 +948,6 @@
 /* The entry point is lisp_align_malloc which returns blocks of at most
    BLOCK_BYTES and guarantees they are aligned on a BLOCK_ALIGN boundary.  */
 
-/* Use posix_memalloc if the system has it and we're using the system's
-   malloc (because our gmalloc.c routines don't have posix_memalign although
-   its memalloc could be used).  */
 #if defined (HAVE_POSIX_MEMALIGN) && defined (SYSTEM_MALLOC)
 #define USE_POSIX_MEMALIGN 1
 #endif
@@ -1007,7 +1004,7 @@
   struct ablock blocks[ABLOCKS_SIZE];
 };
 
-/* Size of the block requested from malloc or memalign.  */
+/* Size of the block requested from malloc or posix_memalign.  */
 #define ABLOCKS_BYTES (sizeof (struct ablocks) - BLOCK_PADDING)
 
 #define ABLOCK_ABASE(block) \


reply via email to

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