Hans Leidekker : kernel: Report a tape device as FILE_TYPE_CHAR.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 13 07:03:25 CST 2006


Module: wine
Branch: refs/heads/master
Commit: e0de496f6119a42b64b2978aae9352e717d821f5
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e0de496f6119a42b64b2978aae9352e717d821f5

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Mon Feb 13 13:22:34 2006 +0100

kernel: Report a tape device as FILE_TYPE_CHAR.

---

 dlls/kernel/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel/file.c b/dlls/kernel/file.c
index 9c5973a..7f0edf3 100644
--- a/dlls/kernel/file.c
+++ b/dlls/kernel/file.c
@@ -775,6 +775,7 @@ DWORD WINAPI GetFileType( HANDLE hFile )
     case FILE_DEVICE_NULL:
     case FILE_DEVICE_SERIAL_PORT:
     case FILE_DEVICE_PARALLEL_PORT:
+    case FILE_DEVICE_TAPE:
     case FILE_DEVICE_UNKNOWN:
         return FILE_TYPE_CHAR;
     case FILE_DEVICE_NAMED_PIPE:




More information about the wine-cvs mailing list