summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygprops.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-19 13:21:18 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-03-19 13:21:18 +0100
commite42f66d00f450a643e1920aa28037188aa1f2f7c (patch)
treeaac991408054a988bafae7864a1744546852255c /winsup/cygwin/cygprops.h
parentd17977ccc70278101b605da51b6e96f8b3c9e44b (diff)
downloadcygnal-e42f66d00f450a643e1920aa28037188aa1f2f7c.tar.gz
cygnal-e42f66d00f450a643e1920aa28037188aa1f2f7c.tar.bz2
cygnal-e42f66d00f450a643e1920aa28037188aa1f2f7c.zip
Remove ill-advised cygwin_props
Cygwin_props have been invented to allow switching off the unique installation keys in the first place, supposedly for debugging. This never really was a good idea, after all we *want* the installations to be independent and there's no good reason to break that, not even for debugging purposes. Other than that, cygwin_props were meant to be used for some other global settings which never took place. There's just no good reason to tweak the DLL binary invisibly where a setting could be done in a file or the environment. This patch removes the cygwin_props entirely, including the related settings in cygcheck. cygwin: * cygprops.h: Remove file. * globals.cc (cygwin_props): Remove. * cygheap.cc (init_cygheap::init_installation_root): Drop removing installation key. utils: * cygcheck.cc: Drop including cygprops.h. Remove now unused option values. (unique_object_name_opt): Remove. (handle_unique_object_name): Remove function. (usage): Remove text for unique-object-names options. (longopts): Remove unique-object-names options. (main): Drop handling unique-object-names options. doc: * utils.xml (cygcheck): Remove text for unique-object-names options. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/cygprops.h')
-rw-r--r--winsup/cygwin/cygprops.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/winsup/cygwin/cygprops.h b/winsup/cygwin/cygprops.h
deleted file mode 100644
index 70ea3cc5a..000000000
--- a/winsup/cygwin/cygprops.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* cygprops.h: Cygwin DLL properties
-
- Copyright 2009, 2012 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#pragma once
-/* DLL properties data. */
-struct cygwin_props_t
-{
- char magic[68];
- ULONG size;
- ULONG disable_key;
-};
-
-#define CYGWIN_PROPS_MAGIC \
- "Fortunately, I keep my feathers numbered for just such an emergency"