Re: dlls/dinput/effect_linuxinput.c: Check return value of 'write'. (bug # 16413)
4 Jan
2009
4 Jan
'09
10:54 p.m.
titon barua wrote:
--- /* we don't care about the success or failure of this call */ - write(*(This->fd), &event, sizeof(event)); + /* print errors if they occur */ + if (write(*(This->fd), &event, sizeof(event)) == -1) perror ( NULL ); What's the point of your patch? What part of the comment isn't clear to you? Also don't use perror. Wine has ERR(), WARN(), TRACE() macros for that.
Vitaliy
6276
Age (days ago)
6276
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vitaliy