Revision: 42467
http://brlcad.svn.sourceforge.net/brlcad/?rev=42467&view=rev
Author: brlcad
Date: 2011-01-19 22:56:44 +0000 (Wed, 19 Jan 2011)
Log Message:
-----------
er, so soon? use the new bu_strcmp() function so we properly handle null
strings.
Modified Paths:
--------------
brlcad/trunk/src/libged/attr.c
Modified: brlcad/trunk/src/libged/attr.c
===================================================================
--- brlcad/trunk/src/libged/attr.c 2011-01-19 22:36:43 UTC (rev 42466)
+++ brlcad/trunk/src/libged/attr.c 2011-01-19 22:56:44 UTC (rev 42467)
@@ -36,8 +36,8 @@
int
_ged_cmpattr(const void *p1, const void *p2)
{
- return strcmp((char * const)((struct bu_attribute_value_pair *)p1)->name,
- (char * const)((struct bu_attribute_value_pair *)p2)->name);
+ return bu_strcmp((char * const)((struct bu_attribute_value_pair
*)p1)->name,
+ (char * const)((struct bu_attribute_value_pair *)p2)->name);
}
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