From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11715 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: patch: sequence points in memset Date: Mon, 10 Jul 2017 18:10:14 +0300 (MSK) Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1499699459 28724 195.159.176.226 (10 Jul 2017 15:10:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 15:10:59 +0000 (UTC) User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) To: "musl@lists.openwall.com" Original-X-From: musl-return-11728-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 10 17:10:53 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dUaKl-0006so-Bl for gllmg-musl@m.gmane.org; Mon, 10 Jul 2017 17:10:47 +0200 Original-Received: (qmail 28587 invoked by uid 550); 10 Jul 2017 15:10:50 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28569 invoked from network); 10 Jul 2017 15:10:50 -0000 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11715 Archived-At: Alternatively, the middle group could read: s[1] = s[2] = c; s[n-3] = s[n-2] = c; (it doesn't really matter, but spelling it this way at least leaves a hint in the source that some assignments are not chained for a reason) Alexander