Re: RLIM_INFINITY defined twice

Bob Gustafson (bobgus@mcs.com)
Wed, 28 Jun 2000 09:08:01 -0500


On Wed, 28 Jun 2000 15:08:16 +0800, Andrey Savochkin wrote:
>On Wed, Jun 28, 2000 at 12:22:28AM -0500, Bob Gustafson wrote:
>> On Wed, 28 Jun 2000 11:18:26 +0800, Andrey Savochkin wrote:
>> >There is a solution other than mentioned by Ralf. Do not include libc
>> >headers.
>>
>> This solution seemed to work fine for ppp-2.4.0b2 - I just commented out
>> all of the #include <sys/resource.h> lines in the source code.
>
>To be sure that it works as you expect, you should check glibc's
>set/getrlimit wrappers and verify that they make system call straightforward,
>without messing with parameters. And you should remember to check it again
>if you suddenly decide to upgrade glibc.
>

Keep in mind that I am just a member of the great unwashed - using other
people's code and from time-to-time trying to make sense out of the
warnings and error messages that pop up. Whether a particular application
uses glibc or libc doesn't have any meaning to me. Commenting out a line
or two - I have learned (painfully) that sometimes that can help.

My original post was an attempt to provide feedback to those who know more
about the cogs and wheels.

Thanks again for your responses.

Bob Gustafson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/