apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apr/test sendfile.c
Date Sun, 01 Apr 2001 08:20:50 GMT
"William A. Rowe, Jr." <admin@rowe-clan.net> writes:

> >        rv = apr_stat(&finfo, fname, APR_FINFO_NORM, p);
> >   -    if (rv) {
> >   -        fprintf(stderr, "apr_file_close()->%d/%s\n",
> >   +    if (rv != APR_SUCCESS && rv != APR_INCOMPLETE) {
> >   +        fprintf(stderr, "apr_stat()->%d/%s\n",
> 
> Do we even need the whole shebang here, or is a subset of useful info
> acceptable?  I don't know that we want to even ask the system to do
> the whole enchilada

All we really need is the file size...

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message