From 80f6f52cb1e673a5196cc18de0a4bfb1f492b80d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 15 Jul 2008 11:42:45 +0000 Subject: * 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. --- winsup/cygwin/mtinfo.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'winsup/cygwin/mtinfo.h') 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: -- cgit v1.1