INN and DB 4.5

The Doctor doctor at doctor.nl2k.ab.ca
Sat May 5 00:28:04 UTC 2007


On Fri, May 04, 2007 at 05:47:10PM -0600, The Doctor wrote:
> On Fri, May 04, 2007 at 04:26:59PM -0700, Russ Allbery wrote:
> > The Doctor <doctor at doctor.nl2k.ab.ca> writes:
> > 
> > > Just tested out 4.5.20 with OVDB and only one tweak is needed.
> > > IS anyone interested?
> > 
> > Yes.  I don't have a lot of time, but I'm definitely interested.
> >
> 
> Russ you are going to have to change storage/ovdb/ovdb.c
> 
> in this convulted way:
> 
> I believe you need to change line 1529 so that 
> 
> OVDBenv->set_lk_max(OVDBenv, ovdb_conf.maxlocks);
> 
> Should change to
> 
> #if DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR ==5
                               ^^^^^^^^^^^^^^^^^^^^

This should be DB_VERSION_MINOR == 4
> 	OVDBenv->set_lk_max_locks(OVDBenv, ovdb_conf.maxlocks);
> #else
> 	OVDBenv->set_lk_max(OVDBenv, ovdb_conf.maxlocks);
> #endif
> 
> 
> 
> Still there are some minor error messages:
> 
> ovdb/ovdb.c: In function `client_connect':
> ovdb/ovdb.c:270: warning: implicit declaration of function `strlcpy'
> ovdb/ovdb.c: In function `open_db_file':
> ovdb/ovdb.c:612: warning: label `t_open_db_file' defined but not used
> ovdb/ovdb.c: In function `delete_old_stuff':
> ovdb/ovdb.c:1167: warning: label `out' defined but not used
> ovdb/ovdb.c: In function `ovdb_open':
> ovdb/ovdb.c:1662: warning: label `t_open_groupaliases' defined but not used
> ovdb/ovdb.c:1642: warning: label `t_open_groupinfo' defined but not used
> ovdb/ovdb.c: In function `delete_all_records':
> ovdb/ovdb.c:821: warning: `ret' might be used uninitialized in this function
> ovdb/ovdb.c: In function `rm_temp_groupinfo':
> ovdb/ovdb.c:956: warning: `ret' might be used uninitialized in this function
> ovdb/ovdb.c: In function `delete_old_stuff':
> ovdb/ovdb.c:1006: warning: `listcount' might be used uninitialized in this function
> ovdb/ovdb.c:1007: warning: `ret' might be used uninitialized in this function   
> 
> Nothing show stopping.
>  
> > > Alson when is the next INN 2.4.X or 2.5 coming out?
> > 
> > As soon as I can find time....
> >
> 
> Next INN 2.4.X looks ready to go.  Just a matter of
> getting DB 4.5.20 in.
> 
> BTW you can obtain a copy at Oracle; just do a google search.
>  
> > -- 
> > Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>
> > 
> >     Please send questions to the list rather than mailing me directly.
> >      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
> > 
> > 
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > 
> 
> -- 
> Member - Liberal International	
> This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
> God Queen and country! Beware Anti-Christ rising!
> Manitoba!! On 22 May Get rid of the extremists and VOTE LIBERAL!
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 

-- 
Member - Liberal International	
This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Manitoba!! On 22 May Get rid of the extremists and VOTE LIBERAL!

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the inn-workers mailing list