From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: In-Reply-To: From: "James A. Robinson" Date: Fri, 12 Aug 2016 15:20:08 +0000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a114f5c06937de00539e16bcc Subject: Re: [9fans] bufreset deletes b->nbl-1 blocks? Topicbox-Message-UUID: 970edc0a-ead9-11e9-9d60-3106f5b1d025 --001a114f5c06937de00539e16bcc Content-Type: text/plain; charset=UTF-8 But delblock only calls memmove if i is less then b->nbl, which was just decremented, correct? So isn't the memmove just to cover the case where you are deleting a block that isn't at the very end? Jim --001a114f5c06937de00539e16bcc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
But delblock only calls memmove if i is less then b-&= gt;nbl, which was
just decremented, correct?

=
So isn't the memmove just to cover the case where you are
deleting a block that isn't at the very end?

Jim

--001a114f5c06937de00539e16bcc--