Revision: 57201
http://sourceforge.net/p/brlcad/code/57201
Author: brlcad
Date: 2013-08-28 03:06:03 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
since the function doesn't specifically match the std library gmtime function
in behavior or arguments, it really shouldn't be named identically. how about
bu_utctime()?
Modified Paths:
--------------
brlcad/trunk/include/bu.h
brlcad/trunk/src/libbu/date-time.c
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2013-08-28 03:01:57 UTC (rev 57200)
+++ brlcad/trunk/include/bu.h 2013-08-28 03:06:03 UTC (rev 57201)
@@ -6195,7 +6195,7 @@
* Put the current UTC time in ISO format into the user-provided
* bu_vls struct.
*/
-BU_EXPORT void bu_gmtime(struct bu_vls *vls_gmtime);
+BU_EXPORT void bu_utctime(struct bu_vls *vls_gmtime);
/** @} */
Modified: brlcad/trunk/src/libbu/date-time.c
===================================================================
--- brlcad/trunk/src/libbu/date-time.c 2013-08-28 03:01:57 UTC (rev 57200)
+++ brlcad/trunk/src/libbu/date-time.c 2013-08-28 03:06:03 UTC (rev 57201)
@@ -1,7 +1,7 @@
/* D A T E - T I M E . C
* BRL-CAD
*
- * Copyright (c) 2013-2013 United States Government as represented by
+ * Copyright (c) 2013 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
@@ -30,7 +30,7 @@
#include "bu.h"
void
-bu_gmtime(struct bu_vls *vls_gmtime)
+bu_utctime(struct bu_vls *vls_gmtime)
{
struct tm loctime;
struct tm* retval;
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