diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-15 11:42:45 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-15 11:42:45 +0000 |
commit | 80f6f52cb1e673a5196cc18de0a4bfb1f492b80d (patch) | |
tree | ce9d656994cf57ee39f9cbc02f9f0ce8089dfe1d /winsup/cygwin/mtinfo.h | |
parent | dc4b5caedcd9f461900b9dfe53c1d7c59aa4cd82 (diff) | |
download | newlib-80f6f52cb1e673a5196cc18de0a4bfb1f492b80d.zip newlib-80f6f52cb1e673a5196cc18de0a4bfb1f492b80d.tar.gz newlib-80f6f52cb1e673a5196cc18de0a4bfb1f492b80d.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/mtinfo.h')
-rw-r--r-- | winsup/cygwin/mtinfo.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/winsup/cygwin/mtinfo.h b/winsup/cygwin/mtinfo.h index ea5a7bb..cccaed8 100644 --- a/winsup/cygwin/mtinfo.h +++ b/winsup/cygwin/mtinfo.h @@ -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: |