From: Jim Meyering Date: Thu, 7 May 1998 15:54:44 +0000 (+0000) Subject: rename variable X-Git-Tag: TEXTUTILS-1_22f~6 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=caace0543836ce613c2ed68532a85e313bab77ae;p=thirdparty%2Fcoreutils.git rename variable --- diff --git a/src/tac.c b/src/tac.c index a4436c83d6..f5cf8b4ed3 100644 --- a/src/tac.c +++ b/src/tac.c @@ -452,13 +452,12 @@ tac_stdin (void) return errors; } -/* BUF_END_PLUS_ONE points one byte past the end of the buffer - to be searched. */ +/* BUF_END points one byte past the end of the buffer to be searched. */ static void * -memrchr (const char *buf_start, const char *buf_end_plus_one, int c) +memrchr (const char *buf_start, const char *buf_end, int c) { - const char *p = buf_end_plus_one; + const char *p = buf_end; while (buf_start <= --p) { if (*(const unsigned char *) p == c)