www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/01/27/12:24:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Sun, 27 Jan 2013 19:24:28 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: typedefing rlim_t
In-reply-to: <51054184.8000700@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83vcaiilo3.fsf@gnu.org>
References: <51054184 DOT 8000700 AT gmx DOT de>
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

> 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.  I was not able
> to figure out why djgpp's implementation uses long.  Anyway a typedef of
> rlim_t is required to be able to compile certain sources.
> 
> Suggestions concerning this issue are welcome.

Go for it, and thanks.

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?

- Raw text -


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