delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/05/07:54:31

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <001501c17d8b$76b40540$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "CA List" <Cygwin-Apps AT cygwin DOT com>
Cc: "Pavel Tsekov" <ptsekov AT syntrex DOT com>
References: <3C0E0C4C DOT 73A1750D AT syntrex DOT com> <15915798356 DOT 20011205152138 AT logos-m DOT ru> <3C0E1592 DOT BE4AA60 AT yahoo DOT com>
Subject: Re: string.h vs string.h usage
Date: Wed, 5 Dec 2001 23:50:47 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 05 Dec 2001 12:50:49.0096 (UTC) FILETIME=[76D94080:01C17D8B]

===
----- Original Message -----
From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>


> egor duda wrote:
> >
> > Hi!
> >
> > Wednesday, 05 December, 2001 Pavel Tsekov ptsekov AT syntrex DOT com wrote:
> >
> > SUSv2 mandates both <strings.h> and <string.h>
> >
>
> Wrong documentation base.  You must use MSDN for MinGW.
>
> > mingw declares strcasecmp() in <string.h> while SUSv2 says it should
> > be in <strings.h>
> >
> > i believe mingw headers should be fixed/updated.
> >
>
> No, MinGW headers are correct according to MSDN.  Perhaps the problem
> here is that strcasecmp doesn't exist in the MinGW world.  From what I
> find, strcasecmp is a BSD addition to even POSIX.  That said, MinGW
> supports ANSI functions only.

I'll change setup to use <string.h> globally then.

If need be we can roll our own strcasecmp.

Rob

- Raw text -


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