mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[CABINET_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <windows.h>
|
||||
#include "fci.h"
|
||||
#include "fdi.h"
|
||||
@@ -31,16 +33,6 @@
|
||||
|
||||
static CHAR CURR_DIR[MAX_PATH];
|
||||
|
||||
/* avoid including CRT headers */
|
||||
#ifndef _O_BINARY
|
||||
# define _O_BINARY 0x8000
|
||||
#endif
|
||||
|
||||
#ifndef _S_IREAD
|
||||
# define _S_IREAD 0x0100
|
||||
# define _S_IWRITE 0x0080
|
||||
#endif
|
||||
|
||||
#include <pshpack1.h>
|
||||
|
||||
struct CFHEADER
|
||||
@@ -784,7 +776,7 @@ static UINT CDECL fdi_mem_read(INT_PTR hf, void *pv, UINT cb)
|
||||
|
||||
static UINT CDECL fdi_mem_write(INT_PTR hf, void *pv, UINT cb)
|
||||
{
|
||||
static const char expected[12] = "Hello World!";
|
||||
static const char expected[] = "Hello World!";
|
||||
|
||||
trace("mem_write(%#lx,%p,%u)\n", hf, pv, cb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user