* fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Just initialize drive data. * mtinfo.h (MTINFO_MAGIC): Remove. (MTINFO_VERSION): Remove. (class mtinfo): Remove magic and version members. * shared.cc (shared_info::initialize): Move call to get_session_parent_dir so that the dir creation is only called once. Move call to mt.initialize so that it's called only by the first process creating the shared memory. * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info. (CURR_SHARED_MAGIC): Ditto. (class shared_info): Add obcaseinsensitivity member.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* mtinfo.h: Defininitions for the Cygwin tape driver class.
|
||||
|
||||
Copyright 2004, 2005, 2006 Red Hat, Inc.
|
||||
Copyright 2004, 2005, 2006, 2008 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -8,9 +8,6 @@ This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#define MTINFO_MAGIC 0x179b2af0
|
||||
#define MTINFO_VERSION 2
|
||||
|
||||
/* Maximum number of supported partitions per drive. */
|
||||
#define MAX_PARTITION_NUM 64
|
||||
/* Maximum number of supported drives. */
|
||||
@@ -132,8 +129,6 @@ public:
|
||||
|
||||
class mtinfo
|
||||
{
|
||||
DWORD magic;
|
||||
DWORD version;
|
||||
mtinfo_drive _drive[MAX_DRIVE_NUM];
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user