On Thu, 8 Jan 2004, David Dawes wrote: > >> Is <strings.h> needed here for Solaris? I didn't find it necessary for > >> the Solaris builds I've tried.
> >It provides a prototype for keyboard-cfg.c's and monitor-cfg.c's use of > >bzero(). An alternative would be to change them to memset()'s. > Code that uses bzero() should include <X11/Xfuncs.h>, which in most > cases defines it in terms of memset(). > Are there any platforms we build on that don't provide memset()? Grepping > through the source tree, it is used in lots of places, so I'd assume that > it is safe to replace bzero() with memset(). OK. > Ideally the compatibility stuff in Xos.h and Xfuncs.h for things > like index(), rindex(), bcopy(), bzero(), etc would only be used for > older 3rd party apps, not for code in our source tree. Well, we do provide them in libc_wrapper... Anyway, I see cleaning this up as post-4.4 stuff. There are more pressing things right now. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 developer and VP. ATI driver and X server internals. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel