GNU bug report logs -
#18238
Fix for DOS build when using more accurate config[.h].in
Previous Next
Reported by: Reuben Thomas <rrt <at> sc3d.org>
Date: Sun, 10 Aug 2014 16:48:01 UTC
Severity: wishlist
Tags: wontfix
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sun, 10 Aug 2014 17:47:11 +0100
> From: Reuben Thomas <rrt <at> sc3d.org>
>
> DJGPP does actually have getrlimit. The special config[.h].in for MSDOS
> lies and says it hasn't. However, this is a white lie, because getrlimit on
> DJGPP doesn't support RLIMIT_AS/RLIMIT_DATA, which is what we want, so we
> still want the workaround code. The following patch simply reverses the
> order of a couple of tests in vm-limit.c so that being on MSDOS overrides
> HAVE_GETRLIMIT.
>
> Is it OK to install?
I don't see why the suggested code is better than the existing one.
HAVE_GETRLIMIT means more than its name says, as you point out, so
DJGPP is correct in not defining one.
This bug report was last modified 3 years and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.