On Thu, 2012-04-26 at 23:53 -0400, Mike Frysinger wrote:
> > --- a/libc/sysdeps/linux/common/ftruncate.c
> > +++ b/libc/sysdeps/linux/common/ftruncate.c
> > 
> > +#ifdef __NR_ftruncate
> >  _syscall2(int, ftruncate, int, fd, __off_t, length)
> > +#elif defined __NR_truncate64
> > +int ftruncate(int fd, __off_t length)
> > +{
> > +     return ftruncate64(fd, length);
> > +}
> > +#endif
> 
> this would be a candidate for merging into existing ftruncate64.c so we can
> make them aliases to each other i think ...

Can we? ftruncate64 takes __off64_t length so I didn't think an alias
would work.

--Mark


_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to