http://bugs.winehq.org/show_bug.cgi?id=8783
------- Additional Comments From damjan.jov@gmail.com 2007-06-07 00:42 ------- Created an attachment (id=7032) --> (http://bugs.winehq.org/attachment.cgi?id=7032&action=view) ignore some errors
I can't even find where in the kernel source it returns EINVAL for TIOCGICOUNT :-(.
It could also be that it also failed on wine <= 0.9.22, but wine just ignored the errors. This patch attempts to do the same, try it on a recent version of wine and see if it helps.