svn commit: trunk/uClibc/libc/sysdeps/linux/common

Mike Frysinger vapier at gentoo.org
Thu Jun 8 17:45:21 UTC 2006


On Thursday 08 June 2006 12:43, Peter S. Mazinger wrote:
> On Thu, 8 Jun 2006 vapier at uclibc.org wrote:
> > Author: vapier
> > Date: 2006-06-08 02:26:14 -0700 (Thu, 08 Jun 2006)
> > New Revision: 15338
> >
> > Log:
> > add support for 5th argument
>
> attached an alternative, because the 5th arg is optional (only if
> MREMAP_FIXED was specified in may_move/flags

which your version does incorrectly ... va_args cannot be safely called all 
the time

the kernel handles the logic as to whether the 5th argument is actually used 
so there's no point in duplicating the logic in userspace
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060608/6540f293/attachment-0002.pgp 


More information about the uClibc mailing list