On Mon, 2010-08-02 at 11:35 -0500, Chandrasekhar Murthy wrote: > I think using strncmp might not work if there are NULLs in the strings. > > Murthy
That is a good point. I didn't see any issues during testing but it is a change from what the old code did. Perhaps I should be using memcmp instead of strncmp. On the other hand I don't know if the compiler would ever call compare_names with a NULL in the string. I *think* the names being compared are always variable names which shouldn't have NULLs, but I am not positive of that. Steve Ellcey s...@cup.hp.com ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel