httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: cvs commit: apache-1.3/src/lib/sdbm sdbm.h
Date Sun, 25 Feb 2001 22:40:10 GMT
This patch must be brought over to 2.0 --- however I half expect it to entirely
break DAV.  Greg or some other DAV folk, could you comment?

The patch made sdbm compatible with sdbm.  We can either get this right or someone
can implement dbmmanage in c.  That still leaves Apache:: perl package users with
a terribly broken dbm user file mechanism.

> wrowe       01/01/24 11:29:26
> 
>   Modified:    src      CHANGES
>                src/lib/sdbm sdbm.h
>   Log:
>     Sync sdbm.h with Perl for Win32 mod_auth_dbm.  Note that this makes the
>     bundled sdbm incompatible with DAV's large dbm record requirements.
>   
>   Revision  Changes    Path
>   1.1625    +5 -0      apache-1.3/src/CHANGES
>   
>   Index: CHANGES
>   ===================================================================
>   RCS file: /home/cvs/apache-1.3/src/CHANGES,v
>   retrieving revision 1.1624
>   retrieving revision 1.1625
>   diff -u -r1.1624 -r1.1625
>   --- CHANGES 2001/01/24 16:54:07 1.1624
>   +++ CHANGES 2001/01/24 19:29:22 1.1625
>   @@ -1,5 +1,10 @@
>    Changes with Apache 1.3.17
>    
>   +  *) Fixed the sdbm.h bundled in Apache for Win32, bringing it in sync
>   +     with Perl.  Because it didn't have the same geometry as Perl, 
>   +     users reported the first user added with dbmmanage was not 
>   +     recognized.  [William Rowe]
>   +
>      *) Fixed ap_os_canonical_filename to append a the default volume 
>         name if the the path is a full path and does not include the
>         volume name.  Since NetWare's current working directory always 
>   
>   
>   
>   1.2       +5 -7      apache-1.3/src/lib/sdbm/sdbm.h
>   
>   Index: sdbm.h
>   ===================================================================
>   RCS file: /home/cvs/apache-1.3/src/lib/sdbm/sdbm.h,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- sdbm.h 2000/09/21 13:06:14 1.1
>   +++ sdbm.h 2001/01/24 19:29:25 1.2
>   @@ -4,16 +4,14 @@
>     * author: oz@nexus.yorku.ca
>     * status: public domain. 
>     */
>   -/* increase the block/page size and what can be inserted */
>   -#if 1
>   -#define DBLKSIZ 16384
>   -#define PBLKSIZ 8192
>   -#define PAIRMAX 8008 /* arbitrary on PBLKSIZ-N */
>   -#else
>   +
>   +/* These settings are -incompatible- with mod_dav [www.webdav.org/mod_dav/]
>   + * but are required for compatibility with mod_auth_dbm.  Do not link this 
>   + * build of sdbm into mod_dav and expect success, dav requires big records.
>   + */
>    #define DBLKSIZ 4096
>    #define PBLKSIZ 1024
>    #define PAIRMAX 1008 /* arbitrary on PBLKSIZ-N */
>   -#endif
>    #define SPLTMAX 10 /* maximum allowed splits */
>    /* for a single insertion */
>    #define DIRFEXT ".dir"
>   
>   
>   
> 


Mime
View raw message