O_NONBLOCK is a completely separate issue. All my responses from you have
amounted to "You don't know anything about unix. You must be some kind of
moron. Your patch is useless." My proposal is hardly nonstandard.
According to "the standard", the midi read() call is supposed to work like
a socket read. And I quote from
http://www.4front-tech.com/pguide/midi.html:
Reading from the device waits until there are at least one byte in
the receive buffer. When the first byte is received, the driver
will not wait for additional characters. This means that the read
returns usually less bytes than requested.
Whether or not you accept 4front-tech.com's pages as the standard, that's
what applications will expect to see.
-Andy.
-
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/