* fhandler.cc (fhandler_base::open): Set shared flags to 0 when
opening a tape device.
This commit is contained in:
parent
f0eeb667b8
commit
8cb783ba56
|
@ -1,3 +1,8 @@
|
|||
2004-08-19 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (fhandler_base::open): Set shared flags to 0 when
|
||||
opening a tape device.
|
||||
|
||||
2004-08-19 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_socket.cc (fhandler_socket::dup): Increment dtable's
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue