This is the mail archive of the cygwin mailing list for the Cygwin 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: more ctime bugs


Eric,

On Feb  9 21:27, ericblake@comcast.net wrote:
> Corinna, since you've been fixing so many ctime bugs lately to match SUSv3
> and POSIX, could you also fix open(2) when O_TRUNC is set, and write(2) and
> link(2) in general, to touch ctime?

No problem with open and link, but I'm a bit reluctant to do this in
write.  Setting the file time on each WriteFile looks like a pretty
time consuming operation, so I'm a bit in doubt if every write operation
should be slowed down by this, POSIX compatibility or not.  Wouldn't
it help in most cases, if the close after write sets the ctime?


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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