Date: Wed, 21 Nov 2018 22:37:49 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340750 - head/contrib/elftoolchain/strings Message-ID: <201811212237.wALMbnLI023622@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Wed Nov 21 22:37:49 2018 New Revision: 340750 URL: https://svnweb.freebsd.org/changeset/base/340750 Log: strings: unbreak the build after r340746 Discussed with: oshogbo Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/strings/strings.c Modified: head/contrib/elftoolchain/strings/strings.c ============================================================================== --- head/contrib/elftoolchain/strings/strings.c Wed Nov 21 22:25:05 2018 (r340749) +++ head/contrib/elftoolchain/strings/strings.c Wed Nov 21 22:37:49 2018 (r340750) @@ -350,7 +350,7 @@ find_strings(const char *name, off_t offset, off_t siz (void)fseeko(stdin, offset, SEEK_SET); cur_off = offset; start_off = 0; - while (true) { + for (;;) { if ((offset + size) && (cur_off >= offset + size)) break; start_off = cur_off; @@ -395,7 +395,7 @@ find_strings(const char *name, off_t offset, off_t siz } printf("%s", obuf); - while (true) { + for (;;) { if ((offset + size) && (cur_off >= offset + size)) break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811212237.wALMbnLI023622>