2011/6/26 Sergey I. Sharybin <[email protected]> > Hi, > > I can't see how such kind of replacement would help us. And we can't use > cstring dur to Blender is mostly written in C, not C++. > > Not true. There is much C++ code which should use <cstring>, strncmp or even glib::ustring for UTF.
> Johan C. wrote: > > Hi, > > > > It'd be best to rewrite the strcmp functions with strncmp and using > > #include<cstring> instead of libc string.h . > > > > So strcmp(1,2) would become std::strncmp(1,2,std::strlen(2)); > > > > Love, > > erana > > > > PS: You can patch it with a line of perl. > > _______________________________________________ > > Bf-committers mailing list > > [email protected] > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > -- > With best regards, Sergey I. Sharybin > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
