![]() | |||||||||||||
Messages in this thread |
As a continuation of the thread "bug in read(2) syscall" on linux-smp I would like to confirm that the same bug exists in write(2) as well, i.e. write(1, 0, 10) returns 10 instead of -1 with errno=EFAULT. This is only when the descriptor is a tty - on files and /dev/null it's okay... regards, ------ -------- --------- -------- -- - -- ---- -- Tigran A. Aivazian | http://www.sco.com Escalations Research Group | tel: +44-(0)1923-813796 Santa Cruz Operation Ltd | Email: tigran@sco.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:45 [from the cache] ©2003-2008 | |||||||||||||