This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
../sysdeps/unix/sysv/linux/waitid.c: In function 'do_waitid': ../sysdeps/unix/sysv/linux/waitid.c:52: error: memory input 6 is not directly addressable ../sysdeps/unix/sysv/linux/waitid.c:55: error: memory input 6 is not directly addressable diff -ur glibc-2.3.4/sysdeps/unix/sysv/linux/waitid.c glibc-2.3.4-patched/sysdeps/unix/sysv/linux/waitid.c --- glibc-2.3.4/sysdeps/unix/sysv/linux/waitid.c 2004-10-30 13:01:02.000000000 -0500 +++ glibc-2.3.4-patched/sysdeps/unix/sysv/linux/waitid.c 2005-04-18 19:01:28.334689002 -0500 @@ -47,12 +47,14 @@ do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) { static int waitid_works; + struct rusage *sim = NULL; + if (waitid_works > 0) - return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, NULL); + return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, sim); if (waitid_works == 0) { int result = INLINE_SYSCALL (waitid, 5, - idtype, id, infop, options, NULL); + idtype, id, infop, options, sim); if (result < 0 && errno == ENOSYS) waitid_works = -1; else
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |