comparison src/buffer.c @ 31612:2050f93e8cef

(alloc_buffer_text): Fix xmalloc call.
author Dave Love <fx@gnu.org>
date Thu, 14 Sep 2000 19:39:11 +0000
parents 91e7cea32eaa
children ca37d343042c
comparison
equal deleted inserted replaced
31611:cc9735883a82 31612:2050f93e8cef
4524 #if defined USE_MMAP_FOR_BUFFERS 4524 #if defined USE_MMAP_FOR_BUFFERS
4525 p = mmap_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); 4525 p = mmap_alloc ((POINTER_TYPE **) &b->text->beg, nbytes);
4526 #elif defined REL_ALLOC 4526 #elif defined REL_ALLOC
4527 p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); 4527 p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes);
4528 #else 4528 #else
4529 p = xmalloc (b->text->beg, nbytes); 4529 p = xmalloc (nbytes);
4530 #endif 4530 #endif
4531 4531
4532 if (p == NULL) 4532 if (p == NULL)
4533 { 4533 {
4534 UNBLOCK_INPUT; 4534 UNBLOCK_INPUT;