httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Jones <JON...@er6s1.eng.ohio-state.edu>
Subject Re: ap_current_time() is not intuitive
Date Sat, 08 Jan 2000 17:17:32 GMT
In message <Pine.LNX.4.21.0001080758380.30523-100000@twinlark.arctic.org>,
  Dean Gaudet <dgaudet@arctic.org> writes:
>On Wed, 5 Jan 2000, Ryan Bloom wrote:
>> The APR stat structure will look something like:
>>     ap_fileperms_t protection
>>     ap_uid_t       user
>>     ap_gid_t       group
>>     ap_off_t       size
>>     ap_time_t      *atime
>>     ap_time_t      *mtime
>>     ap_time_t      *ctime
>
>um.  yuck!
>

Why do you need atime and ctime?

It would be nice if the structure had a flag to indicate whether the size was 
valid.  As used in Apache, 'size' means 'the number of bytes read() would 
return before EOF' and this isn't always knowable (a-priori the reads) in OS's
with non-stream file structures.

------------------------------------------------------------------------------
David L. Jones               |      Phone:    (614) 292-6929
Ohio State University        |      Internet:
140 W. 19th St. Rm. 231a     |               jonesd@er6s1.eng.ohio-state.edu
Columbus, OH 43210           |               vman+@osu.edu

Disclaimer: Dogs can't tell it's not bacon.

Mime
View raw message