| To: | Macleod <macleod@mail2000.com.tw> |
|---|---|
| Subject: | Re: System call select on R4600 |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Sun, 22 Aug 2004 14:14:36 +0200 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <1093146850.1583.macleod@mail2000.com.tw> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1093146850.1583.macleod@mail2000.com.tw> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.1i |
On Sun, Aug 22, 2004 at 11:54:10AM +0800, Macleod wrote: > My problem is "select" system call always return -1 > and errno is -4142, but sys_select has never been called. > Think, it has some problem on handling system call. > Because if I change SYS(sys_select, 5) to 4 arguments, > sys_select will be executed. > Thanks! This is a bug which was fixed a while ago. I assume your application is picking up a bad definition from an old kernel header package or so. Still doing syscalls directly is a fragily; better avoid and use your libc's select(3). Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | xine crash when playing DIVx with 128 MB RAM ..., Reza Javadi |
|---|---|
| Next by Date: | Re: CVS Update@-mips.org: linux, Maciej W. Rozycki |
| Previous by Thread: | System call select on R4600, Macleod |
| Next by Thread: | Re: System call select on R4600, Macleod |
| Indexes: | [Date] [Thread] [Top] [All Lists] |