httpd-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: apache-2.0/src/lib/apr/file_io/unix seek.c
Date Tue, 18 Apr 2000 02:22:29 GMT
Hmmm...  That doesn't look right either.  Maybe it is:

if (rc != -1 ) {
    thefile->bufpos = thefile->dataRead = 0;
}
else {
    rc = errno;
}

I'll drink a little more beer and then look at it again.

>   Index: seek.c
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/seek.c,v
>   retrieving revision 1.11
>   retrieving revision 1.12
>   diff -u -r1.11 -r1.12
>   --- seek.c	2000/04/14 23:36:13	1.11
>   +++ seek.c	2000/04/18 02:07:02	1.12
>   @@ -74,7 +74,7 @@
>    
>            if (rc != -1 ) {
>                thefile->bufpos = thefile->dataRead = 0;
>   -            rc == errno;
>   +            rc = errno;
>            }
>        }
>    
>   
>   
>   
> 


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

Mime
View raw message