diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-11-18 15:51:00 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-11-18 15:51:00 +0000 |
commit | edaa9aed5a8bccb5564943194f3a17759e3bfc36 (patch) | |
tree | b7947cc38baf8f5caa530897055e2fee6ea7ee2c | |
parent | e47306e6461ea6b819f951f5e9d38d62be7f2c77 (diff) | |
download | emacs-edaa9aed5a8bccb5564943194f3a17759e3bfc36.tar.gz |
(mmap_enlarge): Don't print a message on stderr
if mapping new memory at the end of the existing region fails.
-rw-r--r-- | src/ChangeLog | 3 | ||||
-rw-r--r-- | src/buffer.c | 2 |
2 files changed, 4 insertions, 1 deletions
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 <gerd@gnu.org> + * 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 |