From edaa9aed5a8bccb5564943194f3a17759e3bfc36 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 18 Nov 2000 15:51:00 +0000 Subject: [PATCH] (mmap_enlarge): Don't print a message on stderr if mapping new memory at the end of the existing region fails. --- src/ChangeLog | 3 +++ src/buffer.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f7fef12be29..0146a543e01 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-11-18 Gerd Moellmann + * buffer.c (mmap_enlarge): Don't print a message on stderr + if mapping new memory at the end of the existing region fails. + * dispnew.c (update_text_area): Don't skip over equal glyphs when the last current glyph overlaps the glyph to its right. diff --git a/src/buffer.c b/src/buffer.c index ae04d7a1511..1e31c93ea5c 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4275,7 +4275,7 @@ mmap_enlarge (r, npages) p = mmap (region_end, nbytes, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0); if (p == MAP_FAILED) - fprintf (stderr, "mmap: %s\n", emacs_strerror (errno)); + ; /* fprintf (stderr, "mmap: %s\n", emacs_strerror (errno)); */ else if (p != (POINTER_TYPE *) region_end) { /* Kernels are free to choose a different address. In -- 2.39.5