apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject RE: cvs commit: apr-util/dbm/sdbm sdbm.c
Date Mon, 22 Jan 2001 15:23:42 GMT


> -----Original Message-----
> From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net]
> Sent: Monday, January 22, 2001 8:41 AM
> To: 'Greg Stein'
> Subject: RE: cvs commit: apr-util/dbm/sdbm sdbm.c
> 
> 
> > From: Greg Stein [mailto:gstein@lyra.org]
> > Sent: Monday, January 22, 2001 4:43 AM
> > 
> > I'd like to see apr_stat's semantics returned to before. If 
> > the apr_stat() succeeded, then the requested data was made 
> available.
> > 
> > Adding a flag to tell APR "hey, I'm cool with partial data" 
> is the right way
> > for an app let APR know that it can compensate for missing data.
> 
> This is a contradiction.
> 
> The _existing_ stat implementation, across platforms, lies to 
> the user.
> 
> If you want to employ the principal of least astonishment, continue to
> pretend that every stat call is successful, even if a 
> platform does not
> support a specific field.
> 
> That's what stat and apr_stat both did Thursday.
> 

Mime
View raw message