Bug#526734: libc: poll not working on ipv4 socket

2009-06-13 Thread Aurelien Jarno
On Sun, May 03, 2009 at 09:59:10PM +0200, Aurelien Jarno wrote: > On Mon, May 04, 2009 at 12:44:43AM +0800, china...@mail.ustc.edu.cn wrote: > > > > Hi, > > can you tell me how to see this code context! > > thank you! > > With only the three lines of code you have sent, it is very difficult t

Bug#526734: libc: poll not working on ipv4 socket

2009-05-03 Thread Aurelien Jarno
On Mon, May 04, 2009 at 12:44:43AM +0800, china...@mail.ustc.edu.cn wrote: > > Hi, > can you tell me how to see this code context! > thank you! With only the three lines of code you have sent, it is very difficult to understand your problem. Would it be possible to send us a simple code that

Bug#526734: libc: poll not working on ipv4 socket

2009-05-03 Thread Aurelien Jarno
On Sun, May 03, 2009 at 09:04:31AM +0200, Salvo Tomaselli wrote: > Package: libc6 > Version: 2.9-9 > Severity: normal > File: libc > > The following code: > > if (poll(monitor,1,READ_TIMEOUT)==0) { > r=0; > } else { > r = rea

Bug#526734: libc: poll not working on ipv4 socket

2009-05-03 Thread Salvo Tomaselli
Package: libc6 Version: 2.9-9 Severity: normal File: libc The following code: if (poll(monitor,1,READ_TIMEOUT)==0) { r=0; } else { r = read(fd,buf->buffer,buf->size); } Works as expected (giving up the read a