apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] Adding an apr_utime() function
Date Thu, 14 Mar 2002 22:22:50 GMT
"William A. Rowe, Jr." <wrowe@rowe-clan.net> writes:

> Before anyone even _considers_ polluting the API [which would
> raise an instant veto from me] we have to finally address the create
> time issue on non-Unix.  Then we can get such a patch committed
> to fit this resolution of this issue..
> 
> Unix has ctime, mtime and atime.  How often will we change all three
> at once, or do we want to change a single requested time-at-a-time?

That is a key question.  I wish I knew the answer :)  Rob, what is
your use case by the way?  Not that it is the answer for everybody,
but I'm curious.

The change-one-time per call handles your issues nicely.  It might be
nice to have a flag that says to just set everything to the one time
so that we don't waste a syscall trying to preserve the times we don't
think we're supposed to modify.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message