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]>

---
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

Reply via email to