Subject: Re: bin/31377: ksh: cannot set limit indicated by ulimit -H
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, sjg@juniper.net>
From: Simon Gerraty <sjg@juniper.net>
List: netbsd-bugs
Date: 10/09/2006 22:40:02
The following reply was made to PR bin/31377; it has been noted by GNATS.
From: Simon Gerraty <sjg@juniper.net>
To: Frederick Bruckman <fredb@immanent.net>
Cc: gnats-bugs@netbsd.org
Subject: Re: bin/31377: ksh: cannot set limit indicated by ulimit -H
Date: Mon, 09 Oct 2006 15:39:03 -0700
Sounds reasonable.
Thanks
--sjg
On Sun, 8 Oct 2006 19:05:06 -0500 (CDT), Frederick Bruckman wri
tes:
>Hi,
>
>The problem seems to be that rlim_t is a "quad_t" (i.e., 64-bi
>ts),
>while pdksh's evaluate() only works for "long" (which is, of c
>ourse,
>only 32-bits on i386). I suggest that the right fix is to "pro
>mote"
>evaluate() to 64-bits, adjusting all of its callers, as below.
>..
>