Revision: 42228
http://brlcad.svn.sourceforge.net/brlcad/?rev=42228&view=rev
Author: brlcad
Date: 2011-01-13 08:35:58 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
prevent null crashes and improve readability. strcmp() gets added to the
avoidance list.
Modified Paths:
--------------
brlcad/trunk/HACKING
Modified: brlcad/trunk/HACKING
===================================================================
--- brlcad/trunk/HACKING 2011-01-13 08:33:41 UTC (rev 42227)
+++ brlcad/trunk/HACKING 2011-01-13 08:35:58 UTC (rev 42228)
@@ -552,6 +552,7 @@
bu_optarg instead of optarg
bu_strlcat instead of strcat(), strncat(), and strlcat()
bu_strlcpy instead of strcpy(), strncpy(), and strlcpy()
+ bu_strcmp and BU_STR_EQUAL() instead of strcmp()
Similarly, ANSI C functions are preferred over the BSD and POSIX
interfaces. The following functions should be used:
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