Revision: 42446
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42446&view=rev
Author:   brlcad
Date:     2011-01-19 14:00:50 +0000 (Wed, 19 Jan 2011)

Log Message:
-----------
make sure db_version() calculates the version during db_open(), init to zero.

Modified Paths:
--------------
    brlcad/trunk/src/librt/db_open.c

Modified: brlcad/trunk/src/librt/db_open.c
===================================================================
--- brlcad/trunk/src/librt/db_open.c    2011-01-19 14:00:13 UTC (rev 42445)
+++ brlcad/trunk/src/librt/db_open.c    2011-01-19 14:00:50 UTC (rev 42446)
@@ -207,6 +207,7 @@
     dbip->dbi_magic = DBI_MAGIC;               /* Now it's valid */
 
     /* determine version */
+    dbip->dbi_version = 0; /* make db_version() calculate */
     dbip->dbi_version = db_version(dbip);
 
     if (RT_G_DEBUG & DEBUG_DB) {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to