diff options
author | Christopher Faylor <me@cgf.cx> | 2008-05-23 16:38:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-05-23 16:38:51 +0000 |
commit | e765b3c0adf2d1a6133b52ce7cb2e71a74811756 (patch) | |
tree | 8e95621e464a8d24c2ccf9e81b170a6953610535 /winsup/cygwin/fhandler_disk_file.cc | |
parent | 7cd454287369cf3918cb31ed3d8b284eb42e257a (diff) | |
download | cygnal-e765b3c0adf2d1a6133b52ce7cb2e71a74811756.tar.gz cygnal-e765b3c0adf2d1a6133b52ce7cb2e71a74811756.tar.bz2 cygnal-e765b3c0adf2d1a6133b52ce7cb2e71a74811756.zip |
* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Avoid use of tls since it isn't necessarily initialized when cygwin1.dll is
dynamically loaded.
(mount_info::create_root_entry): Ditto.
(mount_info::init): Calculate cygwin root once. Use create_root_entry to
record it. Pass fstab location to from_fstab.
(mount_info::from_fstab): Move root calculation stuff elsewhere, as per above.
* shared_info.h (mount_info::from_fstab_line): Make private.
(mount_info::fstab): Ditto. Accommodate new arguments.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
0 files changed, 0 insertions, 0 deletions