Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
ltrace
ltrace.trunk-r36.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ltrace.trunk-r36.patch of Package ltrace
------------------------------------------------------------------------ r36 | ianw-guest | 2006-03-16 00:38:47 +0000 (Thu, 16 Mar 2006) | 2 lines Changed paths: M /ltrace/trunk/ChangeLog M /ltrace/trunk/testsuite/ltrace.minor/trace-clone.c use __clone2() for ia64 clone test ------------------------------------------------------------------------ --- ChangeLog | 5 +++++ testsuite/ltrace.minor/trace-clone.c | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) Index: ChangeLog =================================================================== --- ChangeLog.orig +++ ChangeLog @@ -1,3 +1,8 @@ +2006-03-16 Ian Wienand <ianw@gelato.unsw.edu.au> + + * testsuite/ltrace.minor/trace-clone.c: use __clone2() for IA64 + clone test + 2006-03=13 Paul Gilliam <pgilliam@us.ibm.com> * Makefile.in: Add targets to support testsuite, including 'check'. Index: testsuite/ltrace.minor/trace-clone.c =================================================================== --- testsuite/ltrace.minor/trace-clone.c.orig +++ testsuite/ltrace.minor/trace-clone.c @@ -16,12 +16,18 @@ int child () typedef int (* myfunc)(); +#define STACK_SIZE 1024 + int main () { pid_t pid; - static char stack[1024]; - - if ((pid = clone((myfunc)&child, stack,CLONE_FS, NULL )) < 0) + static char stack[STACK_SIZE]; +#ifdef __ia64__ + pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL); +#else + pid = clone((myfunc)&child, stack,CLONE_FS, NULL ); +#endif + if (pid < 0) { perror("clone called failed"); exit (1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor