Revision: 42322
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42322&view=rev
Author:   starseeker
Date:     2011-01-16 17:35:07 +0000 (Sun, 16 Jan 2011)

Log Message:
-----------
Clarify the documentation for bu_dirname, explicitly mention no NULL and 
responsibility to free memory.

Modified Paths:
--------------
    brlcad/branches/cmake/include/bu.h

Modified: brlcad/branches/cmake/include/bu.h
===================================================================
--- brlcad/branches/cmake/include/bu.h  2011-01-16 17:19:51 UTC (rev 42321)
+++ brlcad/branches/cmake/include/bu.h  2011-01-16 17:35:07 UTC (rev 42322)
@@ -3337,6 +3337,11 @@
  * @n  a/              .
  * @n  ../a/b          ../a
  *
+ * This routine will return "." if other valid results are not available
+ * but should never return NULL.
+ *
+ * Caller is responsible for freeing memory used by the return.
+ *
  * Warning: don't rely on non-constness of bu_dirname().. will change
  * to const.
  */


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