Hi, while debugging, I discovered a problem a bug in read(): when called with nbyte = 0 for the fd's of stdin/out/err like: ret = read(0, buf, 0); it blocks as if it would wait for data, while it should return 0 in absence of errors. That read() correctly returns 0 for an fd a regular file.
I didn't have much success in locating who is replying to the io_read for those fd's, so for now I'll just report the issue. -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.