* fhandler.cc (fhandler_base::open): Set shared flags to 0 when

opening a tape device.
This commit is contained in:
Corinna Vinschen
2004-08-19 15:47:51 +00:00
parent f0eeb667b8
commit 8cb783ba56
2 changed files with 6 additions and 1 deletions

View File

@@ -543,7 +543,7 @@ fhandler_base::open (int flags, mode_t mode)
int res = 0;
HANDLE x;
ULONG file_attributes = 0;
ULONG shared = wincap.shared ();
ULONG shared = (get_major () == DEV_TAPE_MAJOR ? 0 : wincap.shared ());
ULONG create_disposition;
ULONG create_options;
SECURITY_ATTRIBUTES sa = sec_none;