From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Ringle Date: Wed, 10 Mar 2010 15:32:37 +0000 Subject: Re: [PATCH] Use utime rather than utimes Message-Id: <152584231003100732l2454cfdcn3b804c5425d39294@mail.gmail.com> List-Id: References: <1268195770-20935-1-git-send-email-jon@ringle.org> In-Reply-To: <1268195770-20935-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org I'm not subscribed to the list, but saw the discussion in the archive. I tested your patch here: http://www.spinics.net/lists/hotplug/msg03470.html And it builds successfully with uclibc Jon On Wed, Mar 10, 2010 at 3:34 AM, Kay Sievers wrote: > On Wed, Mar 10, 2010 at 05:36, Jon Ringle wrote: >> uclibc does not have lutimes and legacy function utimes should be replac= ed >> with utime > > utime(): POSIX.1-2008 marks utime() as obsolete. I guess uclibc needs > to be fixed if it is supposed to compile udev. > >> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 lutimes(slink, NULL); >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 utime(target, NULL); > > We do not care about the target, also utime() follows links which is > why we can't use it. > > Kay >