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

Peter S. Mazinger ps.m at gmx.net
Thu Jun 8 18:18:06 UTC 2006


On Thu, 8 Jun 2006, Mike Frysinger wrote:

> 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

well, your version breaks the build ...

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list