Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Robert Mark Bram" To: "Nicholas Wourms" , "Cygwin" Subject: RE: strcasestr not found Date: Mon, 10 Jun 2002 02:13:46 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20020609134414.95820.qmail@web21010.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Howdy Nicholas! Please excuse my ignorance! I downloaded the c and h file, put them in a directory (not /usr/include) and tried to compile strlib.c. I got a huuuuge list of errors.. Selected highlights from the 54k output file (I redirected error output).. In file included from strlib.h:146, from strlib.h:146, from strlib.h:146, from strlib.h:146, from strlib.h:146, from strlib.h:146, strlib.h:146: macro or `#include' recursion too deep In file included from strlib.h:147, from strlib.h:146, Cold this be because some functions in the h file are overiding others? Rob :) > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf > Of Nicholas Wourms > Sent: Sunday, 9 June 2002 11:44 PM > To: Robert Mark Bram; Cygwin > Subject: Re: strcasestr not found > > > Hi, > > I found an interesting implimentation of some string functions on the web, > which included a dropin strcasestr. Perhaps you can use it? Go to: > > http://primates.ximian.com/~fejj/strlib.c > http://primates.ximian.com/~fejj/strlib.h > > If you are feeling *really* bold, you could download the cygwin source > code from cvs and add this function to > /src/newlib/libc/string/strcasestr.c. Then recompile cygwin > (which will recompile newlib) and post a patch if it works. > > Cheers, > Nicholas > > --- Robert Mark Bram wrote: > > Howdy all! > > > > I have some C code that uses a function called "strcasestr". It isn't > > compiling because it doesn't seem the function exists within Cygwin's C > > library. Is there a replacement method or an additional library I could > > use > > for this? > > > > Thanks! > > > > Rob > > > > :) > > :-} > > ;-> > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/