Revision: 68951
          http://sourceforge.net/p/brlcad/code/68951
Author:   brlcad
Date:     2016-09-30 21:04:54 +0000 (Fri, 30 Sep 2016)
Log Message:
-----------
EOF doesn't apply to character strings.  presumably testing for nul 
end-of-string was intended.

Modified Paths:
--------------
    brlcad/trunk/src/libgcv/plugins/vrml/vrml_read/string_util.cpp

Modified: brlcad/trunk/src/libgcv/plugins/vrml/vrml_read/string_util.cpp
===================================================================
--- brlcad/trunk/src/libgcv/plugins/vrml/vrml_read/string_util.cpp      
2016-09-30 20:27:07 UTC (rev 68950)
+++ brlcad/trunk/src/libgcv/plugins/vrml/vrml_read/string_util.cpp      
2016-09-30 21:04:54 UTC (rev 68951)
@@ -64,7 +64,7 @@
            case '#':
                do {
                    strptr++;
-               } while ((*strptr) != '\n' && (*strptr) != '\r' && (*strptr) != 
EOF);
+               } while ((*strptr) != '\n' && (*strptr) != '\r' && (*strptr) != 
'\0');
                break;
            default:
                if ((*strptr) == '\0' ) {

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to