Re: Result of compiling with `-W'

From: willy@thepuffingroup.com
Date: Thu Jul 13 2000 - 13:19:02 EST


On Thu, Jul 13, 2000 at 05:12:37PM +0100, Alan Cox wrote:
> > > I think your patch should be checked
> > > carefully because this will not be the only place where it happens.
> >
> > Yes, I've already asked Linus to review this change and the ipc/shm.c
> > one - they're actually API changes.
>
> The rlimit one is wrong. Resource limits are unsigned on x86.

... and on all Single Unix compatible systems.

http://www.opengroup.org/onlinepubs/007908799/xsh/sysresource.h.html

The following type is defined through typedef:

     rlim_t
         Unsigned integral type used for limit values.

-- 
The Sex Pistols were revolutionaries.  The Bay City Rollers weren't.

- 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/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:17 EST