Revision: 49326
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49326&view=rev
Author:   brlcad
Date:     2012-02-08 07:45:49 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
now that they're all fixed or accounted for, go ahead and make any future 
additions that are supposed to be avoided fail regression

Modified Paths:
--------------
    brlcad/trunk/regress/repository.sh

Modified: brlcad/trunk/regress/repository.sh
===================================================================
--- brlcad/trunk/regress/repository.sh  2012-02-08 07:43:45 UTC (rev 49325)
+++ brlcad/trunk/regress/repository.sh  2012-02-08 07:45:49 UTC (rev 49326)
@@ -147,6 +147,7 @@
 # 203 - malloc
 # 89 - calloc
 # 21 - realloc
+FOUND=
 for func in fgets abort dirname getopt strcat strncat strlcat strcpy strncpy 
strlcpy strcmp strcasecmp stricmp strncmp strncasecmp stricmp unlink rmdir 
remove ; do
     echo "Searching for $func ..."
     MATCH="`grep -n -e [^a-zA-Z0-9_]$func\( $INCFILES $SRCFILES /dev/null`"
@@ -175,6 +176,7 @@
     if test "x$MATCH" != "x" ; then
        echo "ERROR: Found `echo \"$MATCH\" | wc -l | awk '{print $1}'` 
instances of $func ..."
        echo "$MATCH"
+       FOUND=1
     fi
 done
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to