apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr-util/dbm/sdbm sdbm.c
Date Tue, 23 Jan 2001 00:40:00 GMT
wrowe       01/01/22 16:40:00

  Modified:    dbm/sdbm sdbm.c
  Log:
    Back out an optimization until we determine the ->valid and return value
    semantics.
  
  Revision  Changes    Path
  1.5       +2 -2      apr-util/dbm/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sdbm.c	2001/01/20 21:40:23	1.4
  +++ sdbm.c	2001/01/23 00:40:00	1.5
  @@ -177,8 +177,8 @@
           /*
            * need the dirfile size to establish max bit number.
            */
  -        if (((status = apr_getfileinfo(&finfo, APR_FINFO_SIZE, db->dirf)) 
  -              != APR_SUCCESS) || !(finfo.valid & APR_FINFO_SIZE))
  +        if ((status = apr_getfileinfo(&finfo, APR_FINFO_NORM, db->dirf)) 
  +                != APR_SUCCESS)
               goto error;
   
           /*
  
  
  

Mime
View raw message