From: Ken Raeburn Date: Sun, 21 Jul 2002 14:11:55 +0000 (+0000) Subject: comment last change X-Git-Tag: ttn-vms-21-2-B4~13944 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6bcdeb8c243c2b9de61f5d03a5a9928d8e2d1749;p=emacs.git comment last change --- diff --git a/src/buffer.c b/src/buffer.c index bf1b49e6ff4..fd2de4a2408 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4669,7 +4669,11 @@ mmap_realloc (var, nbytes) else if (room - nbytes >= mmap_page_size) { /* Shrinking by at least a page. Let's give some - memory back to the system. */ + memory back to the system. + + The extra parens are to make the division happens first, + on positive values, so we know it will round towards + zero. */ mmap_enlarge (r, - ((room - nbytes) / mmap_page_size)); result = *var; r->nbytes_specified = nbytes;