www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/01/27/14:09:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:content-type;
bh=LIzJDXuPl7uLGrvYJ2jVTxRSEbeAoCLI7nFAxAUeh50=;
b=vAy+OLh5ZZD5dPE8u4+4u6hYy3G425VB/qUf6Jhz2fds1k0o+ncpKaYlZ550u5fOAW
Tp5z3YKkXY55QAHNe5SyG+C/Tk3G785W46PSHSWlMBm4RH5Fhb/+38AmaRRxf0lk622X
yExXj7R0Enxw+Nb1UnWgemG7jpHWqJkq7l3GiLFQaRPq7Zr6fxCOCFkqUNkzu9ESzVKk
kDGIZwDGlRb2CYUiDqYHMfWCjnd3OZ9NCj8suNMtcs1FnUa5n8M+9/Xx4XlzIl1KQEPo
nq6bK8ELxNbJV/oO/P/lZcPl1eE1E6+ztApjDYyEQrG5sX8CTp/NIdBf0ZYrfNL4piM5
jjvQ==
MIME-Version: 1.0
X-Received: by 10.60.19.231 with SMTP id i7mr9452188oee.34.1359313726254; Sun,
27 Jan 2013 11:08:46 -0800 (PST)
In-Reply-To: <83vcaiilo3.fsf@gnu.org>
References: <51054184 DOT 8000700 AT gmx DOT de>
<83vcaiilo3 DOT fsf AT gnu DOT org>
Date: Sun, 27 Jan 2013 13:08:46 -0600
Message-ID: <CAA-ihx_w-EP2O74R7q8uj4pjD8Ng6hV4ah0t0VXLQtR7stqyuA@mail.gmail.com>
Subject: Re: typedefing rlim_t
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Sun, Jan 27, 2013 at 11:24 AM, Eli Zaretskii <eliz AT gnu DOT org> wrote:
>> Date: Sun, 27 Jan 2013 16:02:28 +0100
>> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
>>
>> While I was trying to port latest sed, I have noted that djgpp's resource.h
>> does not provide rlim_t.  An inspection of other resource.h files shows that
>> this typedef should be an unsigned long but djgpp uses long.
>
> As for the signed vs unsigned issue, it doesn't really matter with
> DJGPP, does it?  Do we ever need to specify or return values that are
> larger than LONG_MAX?

Uh, what exactly is it? For "resources" (kernel?) ?? (EDIT: ?? a la
"nice", getpriority(), setpriority() ??)

A quick search only seems to imply it should (usually) be "unsigned long":

http://www.monkey.org/openbsd/archive/misc/0310/msg00520.html
http://pubs.opengroup.org/onlinepubs/007904975/basedefs/sys/resource.h.html
http://www.freepascal.org/docs-html/rtl/baseunix/rlim_t.html
http://www.delorie.com/djgpp//mail-archives/browse.cgi?p=djgpp-workers/2003/12/23/14:17:31

- Raw text -


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