Module: wine
Branch: master
Commit: 63468b02b8a848fe80107ed654e825bd6f018b74
URL: http://source.winehq.org/git/wine.git/?a=commit;h=63468b02b8a848fe80107ed65…
Author: Alex Henrie <alexhenrie24(a)gmail.com>
Date: Mon Jan 11 02:02:32 2016 -0700
ntdll: Remove redundant avail_mode check and confusing comment.
Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ntdll/file.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 1027b54..b90695e 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -523,13 +523,7 @@ static NTSTATUS FILE_AsyncReadService( void *user, IO_STATUS_BLOCK *iosb,
if (fileio->already >= fileio->count || fileio->avail_mode)
status = STATUS_SUCCESS;
else
- {
- /* if we only have to read the available data, and none is available,
- * simply cancel the request. If data was available, it has been read
- * while in by previous call (NtDelayExecution)
- */
- status = (fileio->avail_mode) ? STATUS_SUCCESS : STATUS_PENDING;
- }
+ status = STATUS_PENDING;
}
break;
Module: wine
Branch: master
Commit: e034c419533065e82e60a22e02e3812335a5b02b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e034c419533065e82e60a22e0…
Author: Anthony Fok <foka(a)debian.org>
Date: Tue Jan 5 10:50:23 2016 -0700
include: Suppress "use msvcrt" error in tchar.h when -mno-cygwin is used.
Signed-off-by: Anthony Fok <foka(a)debian.org>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/tchar.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/tchar.h b/include/tchar.h
index 38885d4..13c8ee6 100644
--- a/include/tchar.h
+++ b/include/tchar.h
@@ -23,8 +23,8 @@
#error Wine should not include tchar.h internally
#endif
-#if defined(_UNICODE) || defined(_MBCS)
-#error You must use msvcrt when building in Unicode/MBCS mode
+#if !defined(__MSVCRT__) && (defined(_UNICODE) || defined(_MBCS))
+#error You must use msvcrt when building in Unicode/MBCS mode [-mno-cygwin]
#endif
#ifdef __cplusplus