bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] [PATCH 2/2] Fix plugin load failure on OS/2


From: KO Myung-Hun
Subject: Re: [bug-gawk] [PATCH 2/2] Fix plugin load failure on OS/2
Date: Thu, 12 Oct 2017 20:49:27 +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.

Eli Zaretskii wrote:
>> From: KO Myung-Hun <address@hidden>
>> Date: Wed, 11 Oct 2017 22:32:25 +0900
>>
>> OS/2 cannot load DLLs whose base name is longer than 8 characters.
>> Because of this, libtool limits length of DLL base name up to 8
>> characters. In Gawk, limits likewise.
> 
> Isn't it better/cleaner to have an OS/2 wrapper for dlopen, and
> truncate the name there?  (And why doesn't dlopen itself do that, if
> this is an OS/2 limitation?)
> 

Unfortunately, wrapping dlopen() is not enough. Because gawk checks the
existence of extensions with find_source(). This patch is for it.

I have a question. there are any cases calling load_ext() without
find_source() ? If not, workaround for dlopen() is not needed.

-- 
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.os2.kr/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]