On Oct 22, 2013, at 5:56 AM, Tom Browder <[email protected]> wrote:
>> On Tue, Oct 22, 2013 at 7:42 AM, Christopher Sean Morrison <[email protected]> >> wrote: >> Not a big deal, but it introduces an inconsistency. >> >> There are dozens of strtoks, maybe hundreds, throughout the code. Even in >> that one file, you only got some of them > > Hm, how about strtok vs. strsep? That was really the motivation > behind my choice in asc2g.c. If we have a preponderance of strtoks > then that should be preferred over strsep, no? That's a lose-lose question. Pervasive, standard, and stateful (not threadsafe) VS non-standard, thread safe, and different behavior. There should be a bu function doing the parsing in a standardized way. Cheers! Sean ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
