Module: wine Branch: master Commit: 6c8ed9efbed5c4fb644de6af774e4e71379ef2db URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c8ed9efbed5c4fb644de6af77...
Author: Rob Shearman rob@codeweavers.com Date: Sun Nov 11 13:56:50 2007 +0000
ntdll: Initialise the part of the buffer to be written to a file in the file test.
---
dlls/ntdll/tests/file.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index af143f2..f182719 100644 --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -101,6 +101,8 @@ static void read_file_test(void) LARGE_INTEGER offset; HANDLE event = CreateEventA( NULL, TRUE, FALSE, NULL );
+ buffer[0] = 1; + if (!create_pipe( &read, &write, FILE_FLAG_OVERLAPPED, 4096 )) return;
/* try read with no data */