Re: [xml] Why the strncasecmp() avoidance?

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Fri Sep 22 2000 - 13:37:10 EDT


On Fri, Sep 22, 2000 at 01:28:32PM -0400, David Doolin wrote:
> In message <39CB8D4D.BFB0BCF@mail1.stofanet.dk>, Bjorn Reese writes:
> >
> >Wayne Davison wrote:
> >>
> >> On Fri, 22 Sep 2000, Daniel Veillard wrote:
> >> > I see no problem if you provide xmlStrncasecmp(), yes go ahead !
>
> At the code level, if it hasn't already been done,
> there will need to be the following for win32:
>
> #ifdef WIN32
> #define strncasecmp strnicmp
> #define strcasecmp stricmp
> #endif

  should not be a problem the code does not use strncasecmp or strcasecmp
directly but only the xmlStrncasecmp and xmlStrcasecmp routines

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Sep 22 2000 - 13:43:20 EDT