diff options
| author | Gerd Moellmann | 2000-11-18 15:51:00 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-11-18 15:51:00 +0000 |
| commit | edaa9aed5a8bccb5564943194f3a17759e3bfc36 (patch) | |
| tree | b7947cc38baf8f5caa530897055e2fee6ea7ee2c /src/buffer.c | |
| parent | e47306e6461ea6b819f951f5e9d38d62be7f2c77 (diff) | |
| download | emacs-edaa9aed5a8bccb5564943194f3a17759e3bfc36.tar.gz emacs-edaa9aed5a8bccb5564943194f3a17759e3bfc36.zip | |
(mmap_enlarge): Don't print a message on stderr
if mapping new memory at the end of the existing region fails.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 4275 | p = mmap (region_end, nbytes, PROT_READ | PROT_WRITE, | 4275 | p = mmap (region_end, nbytes, PROT_READ | PROT_WRITE, |
| 4276 | MAP_ANON | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0); | 4276 | MAP_ANON | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0); |
| 4277 | if (p == MAP_FAILED) | 4277 | if (p == MAP_FAILED) |
| 4278 | fprintf (stderr, "mmap: %s\n", emacs_strerror (errno)); | 4278 | ; /* fprintf (stderr, "mmap: %s\n", emacs_strerror (errno)); */ |
| 4279 | else if (p != (POINTER_TYPE *) region_end) | 4279 | else if (p != (POINTER_TYPE *) region_end) |
| 4280 | { | 4280 | { |
| 4281 | /* Kernels are free to choose a different address. In | 4281 | /* Kernels are free to choose a different address. In |