[OpenSIPS-Devel] [ opensips-Bugs-3041667 ] Type of db tail

SourceForge.net noreply at sourceforge.net
Mon Aug 9 00:12:21 CEST 2010


Bugs item #3041667, was opened at 2010-08-09 00:12
Message generated for change (Tracker Item Submitted) made by viraptor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3041667&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stanislaw Pitucha (viraptor)
Assigned to: Nobody/Anonymous (nobody)
Summary: Type of db tail

Initial Comment:
This is not a serious bug really, but I noticed that `db_con_t.tail` is a long, but in every case I've seen it contains a pointer cast to long instead. Just to ensure portability, it could be a pointer.
It could also explain the field a bit better. Current comment says "Variable length tail, database module specific", which (because of the name) I'd normally expect to be expanding, trailing array (char tail[0]). "Pointer to implementation-specific database state" could be more useful there.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3041667&group_id=232389



More information about the Devel mailing list