From: Gerd Moellmann Date: Sat, 18 Nov 2000 15:51:00 +0000 (+0000) Subject: (mmap_enlarge): Don't print a message on stderr X-Git-Tag: emacs-pretest-21.0.91~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edaa9aed5a8bccb5564943194f3a17759e3bfc36;p=emacs.git (mmap_enlarge): Don't print a message on stderr if mapping new memory at the end of the existing region fails. --- 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