* shared_info.h (mount_info): Remove mnt_ elements.

* thread.h (struct _winsup_t): Add mnt_ elements.
* path.cc (fillout_mntent): Use mnt_ elements from reent_winsup ().
This commit is contained in:
Christopher Faylor
2001-04-02 04:27:12 +00:00
parent 68b3c65aa1
commit f97adf983d
4 changed files with 25 additions and 22 deletions

View File

@@ -40,7 +40,7 @@ public:
scheme should be satisfactory for a long while yet. */
#define MAX_MOUNTS 30
#define MOUNT_VERSION 0x01010102
#define MOUNT_VERSION 0x01010103
class reg_key;
class mount_info
@@ -51,12 +51,6 @@ public:
int nmounts;
mount_item mount[MAX_MOUNTS];
/* Strings used by getmntent(). */
char mnt_type[20];
char mnt_opts[20];
char mnt_fsname[MAX_PATH];
char mnt_dir[MAX_PATH];
/* cygdrive_prefix is used as the root of the path automatically
prepended to a path when the path has no associated mount.
cygdrive_flags are the default flags for the cygdrives. */