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 Sat, 20 Jan 2001 21:40:23 GMT
wrowe       01/01/20 13:40:23

  Modified:    dbm/sdbm sdbm.c
  Log:
    apr-util changes to support APR_FINFO_wanted declaration changes for
    apr_stat/lstat/getfileinfo.  These are not -optimal- changes, simply
    the straight line to get the server building again.
  
  Revision  Changes    Path
  1.4       +2 -1      apr-util/dbm/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- sdbm.c	2000/12/12 08:54:30	1.3
  +++ sdbm.c	2001/01/20 21:40:23	1.4
  @@ -177,7 +177,8 @@
           /*
            * need the dirfile size to establish max bit number.
            */
  -        if ((status = apr_getfileinfo(&finfo, db->dirf)) != APR_SUCCESS)
  +        if (((status = apr_getfileinfo(&finfo, APR_FINFO_SIZE, db->dirf)) 
  +              != APR_SUCCESS) || !(finfo.valid & APR_FINFO_SIZE))
               goto error;
   
           /*
  
  
  

Mime
View raw message