Revision: 72358 http://sourceforge.net/p/brlcad/code/72358 Author: starseeker Date: 2019-02-05 22:08:31 +0000 (Tue, 05 Feb 2019) Log Message: ----------- whoops - build, then commit
Modified Paths: -------------- brlcad/trunk/bench/run.c Modified: brlcad/trunk/bench/run.c =================================================================== --- brlcad/trunk/bench/run.c 2019-02-05 22:06:49 UTC (rev 72357) +++ brlcad/trunk/bench/run.c 2019-02-05 22:08:31 UTC (rev 72358) @@ -48,7 +48,7 @@ /* TODO: !!! obviously */ struct bu_vls bu_argv_to_string(int ac, const char *av[]) {struct bu_vls v = BU_VLS_INIT_ZERO; if (ac) {bu_vls_printf(&v, "%s", av[0]);} return v;} void (*echo)(const char *, ...) = bu_log; -extern int bu_exec(const char *program, void *data, struct bu_vls *out, struct bu_vls *err) {if (!program || !out || !err || !data) return 1; return 0;} +extern int bu_exec(const char *program, void *data, struct bu_vls *out, struct bu_vls *err); /** @@ -75,7 +75,7 @@ echo("DEBUG: Running %s -B -M -s512 -H%ld -J0 %s -o %s.pix %s/%s.g %s\n", av[0], hypersample, args, run_geomname, run_geomname, run_geometry); /* pipe(stdin_for_bu_exec); */ - retval = bu_exec(RT, NULL, NULL, NULL); + retval = bu_exec("program", NULL, NULL, NULL); echo("DEBUG: Running %s returned %d\n", av[0], retval); return retval; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits