delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/09/09:44:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020609134414.95820.qmail@web21010.mail.yahoo.com>
Date: Sun, 9 Jun 2002 06:44:14 -0700 (PDT)
From: Nicholas Wourms <nwourms AT yahoo DOT com>
Subject: Re: strcasestr not found
To: Robert Mark Bram <relaxedrob AT optushome DOT com DOT au>, Cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <AHENJAAPGAHKCFPLDPOJAEDGCHAA.relaxedrob@optushome.com.au>
MIME-Version: 1.0

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
<download-dir>/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 <relaxedrob AT optushome DOT com DOT au> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019