On May 22 16:31, Christopher Faylor wrote: > On Thu, May 22, 2008 at 10:28:32PM +0200, Corinna Vinschen wrote: > >On May 22 15:56, Christopher Faylor wrote: > >> It will also contain my removal of the strchr from cygwin's string.h > >> which should have the effect of causing cygwin to use gcc's built-in > >> version of strchr. > > > >Oh, surprise! I thought Cygwin would use Eric's version now. > > It will export it but, in my testing, it won't use it. But that's no > different than any other program which uses strchr() and specifies the > right -O optimization level. > > strchr() and strlen() are among a group of functions that gcc inlines > automatically when you compile a file with optimization.
But then... is the #define strlen __builtin_strlen [...] stuff at the top of winsup.h just old cruft which isn't needed anymore? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
