Revision: 42111
http://brlcad.svn.sourceforge.net/brlcad/?rev=42111&view=rev
Author: brlcad
Date: 2011-01-12 01:12:14 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
curious one, untested.
Modified Paths:
--------------
brlcad/trunk/src/conv/comgeom/tools.c
Modified: brlcad/trunk/src/conv/comgeom/tools.c
===================================================================
--- brlcad/trunk/src/conv/comgeom/tools.c 2011-01-12 01:11:49 UTC (rev
42110)
+++ brlcad/trunk/src/conv/comgeom/tools.c 2011-01-12 01:12:14 UTC (rev
42111)
@@ -24,15 +24,24 @@
#include "common.h"
+#include <stdlib.h>
+
#define PADCHR ~(1<<15) /* non data value.*/
char *
endstr(char *str)
{
- while ( *str != 0 ) *str++;
+ if (!str)
+ return NULL;
+
+ while ( *str != '\0' ) {
+ str++;
+ }
+
return str;
}
+
void
strappend(char *s, char *t) /* === */
{
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