On Tue, Oct 22, 2013 at 8:22 AM, Christopher Sean Morrison <[email protected]> wrote: > On Oct 22, 2013, at 5:56 AM, Tom Browder <[email protected]> wrote: >> 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.
So, if I read that right, that mean essentially a wrapper that chooses strsep if available, otherwise strtok? Or do we just copy the code from the BSD strsep if no strsep? Or? -Doubting Thomas ------------------------------------------------------------------------------ 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
