[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/kernel/syscalls/getdents getdents01.c,1.10,1.11
From: Robert Williamson <robbiew () users ! sourceforge ! net>
Date: 2005-01-11 15:46:50
Message-ID: E1CoOEM-0006iq-US () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/getdents
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25786
Modified Files:
getdents01.c
Log Message:
Applied patch from Jacky Malcles to allow test to run on ia64.
Index: getdents01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/getdents/getdents01.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** getdents01.c 13 Dec 2004 23:02:32 -0000 1.10
--- getdents01.c 11 Jan 2005 15:46:48 -0000 1.11
***************
*** 131,138 ****
* if we could call getdents that way.
*/
!
_syscall3(int, getdents, uint, fd, struct dirent *, dirp, uint, count);
rval = getdents(fd, dirp, count);
!
if (rval < 0) { /* call returned an error */
--- 131,141 ----
* if we could call getdents that way.
*/
!
! #if defined(__ia64__)
! #define getdents(arg1, arg2, arg3) syscall(__NR_getdents, arg1, arg2, arg3)
! #else
_syscall3(int, getdents, uint, fd, struct dirent *, dirp, uint, count);
rval = getdents(fd, dirp, count);
! #endif
if (rval < 0) { /* call returned an error */
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Ltp-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic