Hi,
My name is Charles Davis, but you all can call me "Chip".
I'm new to Wine development, and frankly, I'm kinda scared because I've heard and read that getting patches into Wine is very difficult. In fact, every time I got ready to send this first patch, I chickened out and couldn't do it. So, I want someone to review this patch to see if there's anything wrong with it.
Thanks in advance.
Chip
--- dlls/ntdll/cdrom.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-)
Charles Davis wrote:
Lie. First of all avoid looking at native dumps, disasms, decompiled output etc., if you don't it's quite possible to be committed.
You're on a right way. As for me I'm not very competent in device accessing things but could you be more specific what this patch is supposed to do, provide bug links or something. Looks like a Mac (or not?) support for some call...A description would be nice.
Thanks in advance.
Chip
Charles Davis wrote:
Thanks for writing the patch.
Few things about your patch:
You need to add substantial amount of code to or be working for a long time on this file to add yourself to the copyright note. As for your contribution to the project, all authors are tracked and AUTHORS file updated automatically.
This doesn't seems right. If it's not supported (aka error) you shouldn't be touching returned data. Also why are you zeroing return buffers? I don't see other implementations do it.
and
You shouldn't need to zero buffer you pass to system ioctl.
Please keep formatting consistent with the rest of the function/file. Here you need to add space after "if".
Vitaliy.