bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 14/21] getdtablesize: do not use getrlimit() on OS/2 kLIBC


From: KO Myung-Hun
Subject: Re: [PATCH 14/21] getdtablesize: do not use getrlimit() on OS/2 kLIBC
Date: Tue, 02 Dec 2014 15:08:43 +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.

Paul Eggert wrote:
> KO Myung-Hun wrote:
>> getrlimit() was implemented in kLIBC and works well. Strangely,
>> however, it crashes due to 'stack overflow' or 'SIGSEGV' when used in
>> GNU M4.
> 
> This needs explanation in the form of a brief comment in the source code.
> 

Fixed.

> Also, I don't see how it can be said to work "well" if it crashes.  

Simple test cases work well. Anyway, fixed. ^^

> Most
> likely, kLIBC getrlimit is buggy, or is being compiled with the wrong
> options, or something like that.  The implementation of kLIBC getrlimit
> is incorrectly attempting to stuff a 32-bit unsigned value into a 32-bit
> signed variable, and it could be something as simple as that.

-- 
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

Attachment: 0001-getdtablesize-do-not-use-getrlimit-on-OS-2-kLIBC.patch
Description: Text document


reply via email to

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