On Fri, Sep 5, 2008 at 8:16 AM, Subrata Modak
<[EMAIL PROTECTED]> wrote:
> On Thu, 2008-09-04 at 20:39 +0530, Subrata Modak wrote:
>> Hi Michael,
>>
>> I have seen that in some of my systems, utimensat fails to build because
>> of some definitions missing in system headers. Do, you think we can
>> apply the following patch:
>>
>> Signed-Off-By: Subrata Modak <[EMAIL PROTECTED]>
>
> I thought this to be prudent until all headers are properly updated.
> Hence i merged this.

Looking at the kernel headers, these two constants are defined in
headers common to all architectures, so I think this should be okay.

Cheers,

Michael

>>
>> ---
>> diff -uprN
>> ltp-full-20080831.orig/testcases/kernel/syscalls/utimensat/utimensat01.c
>> ltp-full-20080831/testcases/kernel/syscalls/utimensat/utimensat01.c
>> ---
>> ltp-full-20080831.orig/testcases/kernel/syscalls/utimensat/utimensat01.c
>> 2008-09-04 20:33:24.000000000 +0530
>> +++ ltp-full-20080831/testcases/kernel/syscalls/utimensat/utimensat01.c
>> 2008-09-04 20:36:39.000000000 +0530
>> @@ -50,6 +50,13 @@
>>
>>  #ifdef __NR_utimensat
>>
>> +#ifndef AT_FDCWD
>> +  #define AT_FDCWD -100
>> +#endif
>> +#ifndef AT_SYMLINK_NOFOLLOW
>> +  #define AT_SYMLINK_NOFOLLOW 0x100
>> +#endif
>> +
>>  #define EXIT_bad_usage 3
>>  #define EXIT_failed_syscall 3
>>
>> Regards--
>> Subrata
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Ltp-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to