On Wed, Aug 28, 2013 at 9:57 PM, Christopher Sean Morrison
<[email protected]>wrote:

> On Aug 28, 2013, at 9:12 PM, Tom Browder wrote:
>
> I think I need to revert most if not all of my recent trunk changes--the
> attibutes.c file and the db5 functions need to be kept in synch with any
> changes to the bu_avs_attribute_pair struct and they haven't been.  Any db
> using the changed struct is probably whacked in some fashion.
>
> I need to create a branch to continue that work.
>
> I'll try to undo the mess tomorrow.
>
>
> Tom,
>
> Note that there's also an issue of the db5 file format, which is maybe
> what you just noticed.  I thought when you started working on it that you
> had something in mind for how to deal with storing them on disk.  I haven't
> read the v5 spec in a while, but the basic format of attributes on disk is
> a bytelen + chars + '\0' + bytelen + chars + '\0' to store the name and
> value as a string... and that's it.  Any timestamping will either have to
> be a separate attribute or attribute object or will need to be cleverly
> encoded in a way that is backwards-compatible.
>

Unfortunately I was assuming it would happen auto-magically (boo).
 Fortunately, God watches over fools, and my limited testing has shown no
damage to my test dbs--I'm in the process of manually backing out harmful
changes.

-Tom
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to