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 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 Precedence: bulk > Date: Sun, 27 Jan 2013 16:02:28 +0100 > From: Juan Manuel Guerrero > > 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?