[uClinux-dev] [PATCH] : Avoid filename < TASK_SIZE test in do_getname() when no MMU

David Howells dhowells at redhat.com
Mon May 24 05:27:42 EDT 2010


Greg Ungerer <gerg at snapgear.com> wrote:

> +#define TASK_SIZE	(0xFFFFFFFFUL)

You might want to use ULONG_MAX instead of coding the number directly.

David



More information about the uClinux-dev mailing list