* 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:
Corinna Vinschen
2008-07-15 11:42:45 +00:00
parent dc4b5caedc
commit 80f6f52cb1
5 changed files with 25 additions and 40 deletions

View File

@ -118,9 +118,9 @@ public:
cygwin_version.api_minor)
#define SHARED_VERSION_MAGIC CYGWIN_VERSION_MAGIC (SHARED_MAGIC, SHARED_VERSION)
#define SHARED_INFO_CB 31144
#define SHARED_INFO_CB 31136
#define CURR_SHARED_MAGIC 0xbc77afb0U
#define CURR_SHARED_MAGIC 0xace17c0fU
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
@ -136,6 +136,7 @@ class shared_info
DWORD sys_mount_table_counter;
tty_list tty;
LONG last_used_bindresvport;
DWORD obcaseinsensitivity;
mtinfo mt;
void initialize ();