You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/07/13 12:56:33 UTC

cvs commit: apache-2.0/src/lib/sdbm sdbm.c

gstein      00/07/13 03:56:32

  Modified:    src/lib/sdbm sdbm.c
  Log:
  don't set APR_WRITE unconditionally. that will be set by the caller.
  
  Revision  Changes    Path
  1.4       +1 -1      apache-2.0/src/lib/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/sdbm/sdbm.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- sdbm.c	2000/07/13 10:11:23	1.3
  +++ sdbm.c	2000/07/13 10:56:31	1.4
  @@ -138,7 +138,7 @@
   	    (*db)->flags = SDBM_RDONLY;
   	}
   
  -	flags |= (APR_BINARY | APR_READ | APR_WRITE);
  +	flags |= APR_BINARY | APR_READ;
   
   /*
    * open the files in sequence, and stat the dirfile.