From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7571 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix futimes(fd, 0) Date: Wed, 6 May 2015 18:55:54 -0400 Message-ID: <20150506225554.GN17573@brightrain.aerifal.cx> References: <20150506221028.GA29076@euler> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1430952972 14793 80.91.229.3 (6 May 2015 22:56:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 22:56:12 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7584-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 07 00:56:10 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yq8Ec-0006HX-DJ for gllmg-musl@m.gmane.org; Thu, 07 May 2015 00:56:10 +0200 Original-Received: (qmail 20148 invoked by uid 550); 6 May 2015 22:56:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20130 invoked from network); 6 May 2015 22:56:08 -0000 Content-Disposition: inline In-Reply-To: <20150506221028.GA29076@euler> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7571 Archived-At: On Thu, May 07, 2015 at 12:10:28AM +0200, Felix Janda wrote: > Pass on 0 to futimens without trying to dereference it. > --- > src/legacy/futimes.c | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) Thanks. I committed a simplified version. Rich