On Tue, 2008-04-22 at 10:37 -0400, Shane Volpe wrote:
> Subrata,
> Attached is the patch.
Thanks Shane. The same has been applied.
Regards--
Subrata
> Regards,
> Shane
>
>
> On Tue, Apr 22, 2008 at 3:08 AM, Subrata Modak
> <[EMAIL PROTECTED]> wrote:
> > On Mon, 2008-04-21 at 00:20 +0530, Subrata Modak wrote:
> > > On Thu, 2008-04-17 at 08:32 -0400, Shane Volpe wrote:
> > > > This is the second time I'm sending this message because the first was
> > > > rejected since I was not a member of the ltp list, please ignore the
> > > > first message if it makes it through as this one contains more info:
> > > >
> > > > The following patch and all others that were submitted in Feb, 2008
> > > > pertaining to "__NR_fadvise64" seem to break ARM builds of ltp as the
> > > > arm does not have __NR_fadvise64 defined. I suspect there should be:
> > > > #ifndef __NR_fadvise64
> > > > #define __NR_fadvise64 0
> > > > in each of the files that the patches were added.
> > > >
> > > > Regards,
> > > > Shane
> > > >
> > >
> > > Thanks Shane,
> > >
> > > But the diff does not seem to be against the latest LTP CVS. And also it
> > > is not from the LTP root. Please resend me the patch against the latest
> > > code and from LTP root :-)
> >
> > Shane,
> >
> > You are yet to send me a clean Patch ;-)
> >
> > Regards--
> > Subrata
> >
> >
> >
> > >
> > > Regards--
> > > Subrata
> > >
> > > >
> > > >
> > > > Index: posix_fadvise01.c
> > > > ===================================================================
> > > > RCS file:
> > /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/posix_fadvise01.c,v
> > > > retrieving revision 1.1
> > > > diff -u -r1.1 posix_fadvise01.c
> > > >
> > > > --- posix_fadvise01.c 22 Nov 2007 13:58:24 -0000 1.1
> > > > +++ posix_fadvise01.c 7 Jan 2008 11:32:21 -0000
> > > > @@ -44,6 +44,11 @@
> > > > #include "test.h"
> > > > #include "usctest.h"
> > > >
> > > > +#include "linux_syscall_numbers.h"
> > > >
> > > > +#ifndef _FILE_OFFSET_BITS
> > > > +#define _FILE_OFFSET_BITS 32
> > > > +#endif
> > > > +
> > > > void setup();
> > > > void cleanup();
> > > >
> > > > @@ -76,6 +81,14 @@
> > > > int i;
> > > >
> > > >
> > > > + /* Check this system has fadvise64 system which is used
> > > >
> > > > + in posix_fadvise. */
> > > > + if ((_FILE_OFFSET_BITS != 64) && (__NR_fadvise64 == 0)) {
> > > > + tst_resm(TWARN, "This test can only run on kernels that
> > > > implements ");
> > > > + tst_resm(TWARN, "fadvise64 which is used from
> > posix_fadvise");
> > > >
> > > > + exit(0);
> > > > + }
> > > > +
> > > > /*
> > > > * parse standard options
> > > > */
> > > >
> > > >
> > -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > > > Don't miss this year's exciting event. There's still time to save $100.
> > > > Use priority code J8TL2D2.
> > > >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > > > _______________________________________________
> > > > Ltp-list mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/ltp-list
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > > Don't miss this year's exciting event. There's still time to save $100.
> > > Use priority code J8TL2D2.
> > >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > > _______________________________________________
> > > Ltp-list mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/ltp-list
> >
> >
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list