Revision: 57245
http://sourceforge.net/p/brlcad/code/57245
Author: tbrowder2
Date: 2013-08-28 22:44:21 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
ensure old attrs have a creation time even if it's a current time
Modified Paths:
--------------
brlcad/trunk/src/libbu/avs.c
Modified: brlcad/trunk/src/libbu/avs.c
===================================================================
--- brlcad/trunk/src/libbu/avs.c 2013-08-28 22:00:18 UTC (rev 57244)
+++ brlcad/trunk/src/libbu/avs.c 2013-08-28 22:44:21 UTC (rev 57245)
@@ -114,6 +114,9 @@
} else {
app->value = (char *)NULL;
}
+ /* ensure we have a creation time for existing attrs */
+ if (!app->created)
+ bu_avs_set_date(app, BU_ATTR_CREATED);
/* add modification time */
bu_avs_set_date(app, BU_ATTR_MODIFIED);
return 1;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
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 Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits