diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-09 00:31:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-09 00:31:03 +0000 |
commit | 50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba (patch) | |
tree | fb69e435482f82047c619069aff062a55e47105d /winsup/cygwin/external.cc | |
parent | 2e2dcba320d3159bc4f8fd66c7449ae73352404e (diff) | |
download | cygnal-50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba.tar.gz cygnal-50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba.tar.bz2 cygnal-50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba.zip |
* external.cc (cygwin_internal): Make v1 mount table access invalid.
* path.cc (mount_info::init): Remove had_to_create_mount_areas initialization.
(mount_info::from_registry): Remove v1 table import.
(mount_info::read_v1_mounts): Eliminate.
(mount_info::import_v1_mounts): Ditto.
* shared_info.h (mount_info): Ditto for both of above.
* sys/mount.h (MOUNT_DEVFS): New enum.
(MOUNT_PROC): Ditto.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 7959d3999..bc61027a0 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -161,9 +161,8 @@ cygwin_internal (cygwin_getinfo_types t, ...) return (DWORD) cygwin_version_strings; case CW_READ_V1_MOUNT_TABLES: - /* Upgrade old v1 registry mounts to new location. */ - mount_table->import_v1_mounts (); - return 0; + set_errno (ENOSYS); + return 1; case CW_USER_DATA: return (DWORD) &__cygwin_user_data; |