Revision: 55626
          http://sourceforge.net/p/brlcad/code/55626
Author:   brlcad
Date:     2013-06-01 03:36:10 +0000 (Sat, 01 Jun 2013)
Log Message:
-----------
replace four vls calls to strcat() with one call to printf().

Modified Paths:
--------------
    brlcad/trunk/src/libged/nirt.c

Modified: brlcad/trunk/src/libged/nirt.c
===================================================================
--- brlcad/trunk/src/libged/nirt.c      2013-06-01 03:35:34 UTC (rev 55625)
+++ brlcad/trunk/src/libged/nirt.c      2013-06-01 03:36:10 UTC (rev 55626)
@@ -410,10 +410,7 @@
            ++i;
        } else {
            /* append other arguments (i.e. options, file and obj(s)) */
-           bu_vls_strcat(&line1, "\"");
-           bu_vls_strcat(&line1, gedp->ged_gdp->gd_rt_cmd[i]);
-           bu_vls_strcat(&line1, "\"");
-           bu_vls_strcat(&line1, " ");
+           bu_vls_printf(&line1, "\"%s\" ", gedp->ged_gdp->gd_rt_cmd[i]);
        }
     }
 

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


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to