Corinna Vinschen
520fcc9747
* shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
...
username from /etc/passwd before loading mount table.
(shared_info::init_installation_root): New function fetching Cygwin's
installation root dir and storing as native NT path in global shared
memory.
(shared_info::initialize): Call init_installation_root exactly once at
first startup.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add installation_root member.
(shared_info::init_installation_root): Declare.
* grp.cc (pwdgrp::read_group): Call pwdgrp::load with native WCHAR path.
* passwd.cc (pwdgrp::read_passwd): Ditto. Avoid recursion.
(etc::init): Take POBJECT_ATTRIBUTES instead of path_conv.
* path.h (etc::init): Change prototype accordingly.
* pwdgrp.h (class pwdgrp): Store path as UNICODE_STRING/PWCHAR instead
of as path_conv.
(pwdgrp::load): Accommodate prototype.
* uinfo.cc (pwdgrp::load): Change argument type from char to wchar_t.
Create native NT path here instead of calling path_conv.
* mount.cc (find_root_from_cygwin_dll): Drop in favor of global
initializaion in shared_info.
(mount_info::init): Fetch native NT root dir from cygwin_shared.
(mount_info::from_fstab): Expect native NT path and use native NT
functions to access file. Convert username part in user fstab path
according to special char transformation rules.
* path.cc (tfx_chars): Convert slash to backslash.
(transform_chars): Implement for path given as PWCHAR.
(transform_chars): PUNICODE_STRING version calls PWCHAR version.
Remove useless commented code.
2008-07-24 18:25:52 +00:00
..
2008-07-22 10:38:18 +00:00
2007-08-02 14:30:17 +00:00
2008-05-10 18:57:10 +00:00
2005-12-23 22:50:20 +00:00
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2008-04-07 18:45:59 +00:00
2008-07-19 12:26:09 +00:00
2008-07-24 18:25:52 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2005-01-11 12:48:34 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2008-01-01 18:51:23 +00:00
2008-04-01 13:22:47 +00:00
2005-05-02 03:50:11 +00:00
2008-02-14 00:49:47 +00:00
2008-02-14 00:49:47 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2005-03-19 21:45:15 +00:00
2005-08-20 06:19:55 +00:00
2008-07-16 20:20:45 +00:00
2008-07-16 20:20:45 +00:00
2008-07-11 10:00:36 +00:00
2005-05-30 00:54:01 +00:00
2007-02-08 11:35:52 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2008-04-07 18:45:59 +00:00
2005-10-17 23:27:00 +00:00
2008-04-07 18:45:59 +00:00
2008-05-22 20:32:15 +00:00
2008-02-15 17:53:11 +00:00
2008-04-24 09:59:54 +00:00
2008-06-03 02:22:36 +00:00
2008-07-09 11:58:38 +00:00
2008-04-07 18:45:59 +00:00
2006-05-25 05:40:51 +00:00
2008-06-10 14:48:24 +00:00
2007-01-17 19:26:58 +00:00
2008-06-09 14:01:40 +00:00
2008-04-07 18:45:59 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-02-14 16:47:11 +00:00
2008-02-15 17:53:11 +00:00
2008-05-13 13:44:04 +00:00
2008-04-30 09:51:38 +00:00
2008-07-18 08:16:40 +00:00
2008-04-07 16:15:45 +00:00
2008-07-11 10:00:36 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-07-14 20:22:03 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-06-12 15:57:23 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-07-19 12:26:09 +00:00
2008-04-07 18:45:59 +00:00
2008-07-16 20:20:45 +00:00
2008-07-16 20:20:45 +00:00
2008-07-16 20:20:45 +00:00
2007-12-22 13:26:47 +00:00
2008-04-07 18:45:59 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-07-14 20:22:03 +00:00
2008-07-15 11:42:45 +00:00
2008-04-07 18:45:59 +00:00
2008-06-19 19:50:47 +00:00
2008-04-07 18:45:59 +00:00
2005-09-14 14:27:56 +00:00
2008-04-07 18:45:59 +00:00
2008-07-18 12:21:22 +00:00
2008-06-12 15:57:23 +00:00
2008-04-21 12:46:58 +00:00
2008-04-30 09:51:38 +00:00
2008-04-01 13:22:47 +00:00
2006-03-01 20:20:22 +00:00
2006-05-16 03:14:24 +00:00
2008-04-07 18:45:59 +00:00
2008-07-24 18:25:52 +00:00
2008-04-07 18:45:59 +00:00
2005-12-07 22:28:49 +00:00
2008-04-07 18:45:59 +00:00
2005-05-02 03:50:11 +00:00
2005-06-04 02:11:50 +00:00
2006-05-28 21:39:37 +00:00
2008-04-28 08:47:06 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-28 11:13:03 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-05-20 15:11:23 +00:00
2008-04-07 18:45:59 +00:00
2005-12-10 17:09:58 +00:00
2008-07-14 19:58:16 +00:00
2008-04-07 16:33:44 +00:00
2008-04-07 18:45:59 +00:00
2006-08-10 14:15:00 +00:00
2008-07-16 20:20:45 +00:00
2008-07-24 18:25:52 +00:00
2008-04-07 18:45:59 +00:00
2008-07-15 11:42:45 +00:00
2008-07-14 15:56:11 +00:00
2008-04-07 18:45:59 +00:00
2008-01-01 18:51:23 +00:00
2008-05-20 15:11:23 +00:00
2008-05-20 15:11:23 +00:00
2008-05-23 07:13:47 +00:00
2008-04-07 18:45:59 +00:00
2008-07-24 18:25:52 +00:00
2008-07-24 18:25:52 +00:00
2008-07-24 18:25:52 +00:00
2008-03-13 15:18:10 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2008-07-18 08:16:40 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-24 09:59:54 +00:00
2008-04-07 18:45:59 +00:00
2008-07-24 18:25:52 +00:00
2008-05-13 11:40:45 +00:00
2008-04-21 14:00:24 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2005-03-01 11:51:29 +00:00
2008-04-07 18:45:59 +00:00
2008-05-22 12:43:18 +00:00
2008-07-11 10:00:36 +00:00
2008-07-11 10:00:36 +00:00
2008-07-14 20:22:03 +00:00
2008-07-14 20:22:03 +00:00
2008-03-13 15:18:10 +00:00
2008-07-11 16:37:29 +00:00
2008-04-07 18:45:59 +00:00
2008-07-24 18:25:52 +00:00
2008-07-24 18:25:52 +00:00
2008-04-07 18:45:59 +00:00
2008-06-09 13:45:59 +00:00
2008-04-07 18:45:59 +00:00
2006-07-14 00:50:55 +00:00
2008-04-21 12:46:58 +00:00
2006-07-05 16:06:50 +00:00
2008-07-23 10:17:04 +00:00
2004-12-27 19:03:56 +00:00
2008-04-28 16:01:54 +00:00
2008-05-14 10:21:22 +00:00
2008-05-22 01:25:37 +00:00
2008-06-19 00:02:13 +00:00
2008-04-07 18:45:59 +00:00
2007-02-20 14:31:26 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2008-07-16 20:20:45 +00:00
2008-04-07 18:45:59 +00:00
2008-03-12 12:41:50 +00:00
2008-05-22 20:32:15 +00:00
2008-04-07 18:45:59 +00:00
2006-07-26 15:59:39 +00:00
2008-07-24 18:25:52 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-12-12 12:12:24 +00:00
2008-07-12 18:09:17 +00:00
2008-07-08 20:12:46 +00:00
2008-07-08 20:12:46 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-12-05 15:10:20 +00:00
2006-07-17 19:30:30 +00:00
2008-07-18 08:16:40 +00:00
2008-04-21 14:00:24 +00:00