wok-stable view wine/stuff/wine-1.2-cdrom.c.u @ rev 11937

pcmanfm: removed unnecessary copy operation
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 21:23:45 2012 -0800 (2012-02-29)
parents 86de32688f8f
children
line source
1 --- wine-1.2-ori/dlls/ntdll/cdrom.c Fri Jul 16 17:05:45 2010
2 +++ wine-1.2/dlls/ntdll/cdrom.c Sun Aug 1 18:26:30 2010
3 @@ -2835,6 +2835,11 @@
4 static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize)
5 {
6 #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
7 +
8 +#ifndef INQUIRY
9 +#define INQUIRY 0x12
10 +#endif
11 +
12 PSCSI_INQUIRY_DATA pInquiryData = NULL;
13 UCHAR sense_buffer[32];
14 int iochk, version;