/[emacs]/emacs/src/alloc.c
ViewVC logotype

Diff of /emacs/src/alloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.365 by monnier, Thu Mar 24 19:51:13 2005 UTC revision 1.366 by jhd, Sat Apr 2 12:05:38 2005 UTC
# Line 1933  allocate_string_data (s, nchars, nbytes) Line 1933  allocate_string_data (s, nchars, nbytes)
1933           mmap'ed data typically have an address towards the top of the           mmap'ed data typically have an address towards the top of the
1934           address space, which won't fit into an EMACS_INT (at least on           address space, which won't fit into an EMACS_INT (at least on
1935           32-bit systems with the current tagging scheme).  --fx  */           32-bit systems with the current tagging scheme).  --fx  */
1936          BLOCK_INPUT;
1937        mallopt (M_MMAP_MAX, 0);        mallopt (M_MMAP_MAX, 0);
1938          UNBLOCK_INPUT;
1939  #endif  #endif
1940    
1941        b = (struct sblock *) lisp_malloc (size + GC_STRING_EXTRA, MEM_TYPE_NON_LISP);        b = (struct sblock *) lisp_malloc (size + GC_STRING_EXTRA, MEM_TYPE_NON_LISP);
1942    
1943  #ifdef DOUG_LEA_MALLOC  #ifdef DOUG_LEA_MALLOC
1944        /* Back to a reasonable maximum of mmap'ed areas. */        /* Back to a reasonable maximum of mmap'ed areas. */
1945          BLOCK_INPUT;
1946        mallopt (M_MMAP_MAX, MMAP_MAX_AREAS);        mallopt (M_MMAP_MAX, MMAP_MAX_AREAS);
1947          UNBLOCK_INPUT;
1948  #endif  #endif
1949    
1950        b->next_free = &b->first_data;        b->next_free = &b->first_data;

Legend:
Removed from v.1.365  
changed lines
  Added in v.1.366

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26