This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix futimesat with NULL second argument


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]