From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 544 invoked by alias); 18 Nov 2005 22:15:43 -0000 Received: (qmail 526 invoked by uid 22791); 18 Nov 2005 22:15:42 -0000 Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 22:15:42 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id jAIMFVFX014629; Fri, 18 Nov 2005 23:15:31 +0100 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id jAIMFUoM014628; Fri, 18 Nov 2005 23:15:30 +0100 Date: Fri, 18 Nov 2005 22:15:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Roland McGrath , Glibc hackers Subject: Re: [PATCH] Fix futimesat with NULL second argument Message-ID: <20051118221530.GP16723@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20051118210957.GO16723@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051118210957.GO16723@sunsite.mff.cuni.cz> User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00016.txt.bz2 On Fri, Nov 18, 2005 at 10:09:58PM +0100, Jakub Jelinek wrote: > It is unclear what happens with > futimesat (AT_FDCWD, NULL, tvp) > though, my patch will just fail, other variant would be set times on > current working directory. Tried on Solaris 10, for: futimesat (AT_FDCWD, NULL, NULL); truss says: futimesat(-3041965, "", 0x00000000) Err#14 EFAULT /usr/include/sys/fcntl.h:#define AT_FDCWD 0xffd19553 Jakub