[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/21] get_shared_library_fullname: port to EMX
From: |
KO Myung-Hun |
Subject: |
Re: [PATCH 08/21] get_shared_library_fullname: port to EMX |
Date: |
Tue, 02 Dec 2014 14:21:15 +0900 |
User-agent: |
Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 |
Hi/2.
Eric Blake wrote:
> On 11/29/2014 09:20 PM, KO Myung-Hun wrote:
>> * lib/relocatable.c: Define strcmp and strncmp to stricmp and
>> strnicmp on EMX, respectively. (_DLL_InitTerm): New on EMX.
>> (get_shared_library_fullname): Implement on EMX. ---
>> lib/relocatable.c | 51
>> ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file
>> changed, 48 insertions(+), 3 deletions(-)
>>
>> diff --git a/lib/relocatable.c b/lib/relocatable.c index
>> 81dcaeb..c48ed1c 100644 --- a/lib/relocatable.c +++
>> b/lib/relocatable.c @@ -47,6 +47,14 @@ # include <windows.h>
>> #endif
>>
>> +#ifdef __EMX__ +# define INCL_DOS +# include <os2.h> + +#define
>> strcmp stricmp +#define strncmp strnicmp
>
> stricmp is a non-standard case-insensitive comparator. Why not use
> the standardized strcasecmp instead? Similarly for strncasecmp.
>
EMX does not have strcasecmp et al.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr