This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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: FreeBSD port (28): futimes, lutimes


> FreeBSD has two system calls futimes() and lutimes(), which are to utimes()
> what fstat() and lstat() are to stat(). It seems they can be useful to user
> programs (for example, tar and the fileutils could use lutimes()).
> The right place to declare them in the headers in <sys/time.h>. So here is
> a patch to declare them there.

I like these fine.  The Hurd can implement them trivially.

Does anyone have any objections to adding these functions with ENOSYS stubs
on GNU/Linux?

Note your stubs's EINVAL checks are wrong: passing a null pointer for the
TVP argument is valid in utimes and the new calls will behave the same.



Roland


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