]> sourceware.org Git - newlib-cygwin.git/commit
* cygcheck.cc (dump_sysinfo): Fix multiple Cygwin DLL test.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 22 Apr 2008 14:42:05 +0000 (14:42 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 22 Apr 2008 14:42:05 +0000 (14:42 +0000)
commitb677a99b34031a72dcb6fa696a28d01259abaf83
tree2ef429fa7f46c649cd8e0b975b1c6dca66b828e9
parentb1138f3d4bc00c4d99efabdc50fc6ef35bffa734
* cygcheck.cc (dump_sysinfo): Fix multiple Cygwin DLL test.
* path.cc: Fetch mount points from fstab files instead of from
registry.  Use adapted functions copied from Cygwin DLL.
(mnt_t): Drop issys member.  Define as "mnt_t" instead of "struct mnt_t"
subsequently.
(max_mount_entry): New variable.
(unconvert_slashes): Move to earlier location in file.  Make inline.
(find2): Remove.
(get_cygdrive0): Remove.
(get_cygdrive): Remove.
(skip_ws): New function.
(find_ws): Ditto.
(conv_fstab_spaces): Ditto.
(read_flags): Ditto.
(from_fstab_line): Ditto.
(get_user): Ditto.
(from_fstab): Ditto.
(mnt_sort): Ditto.
(read_mounts): Drop old registry code.  Fetch
"Software\Cygwin\Setup\rootdir" value from HKCU or HKLM key.  Use
rootdir extracted from module path as fallback.  Call from_fstab for
nouser and user mount points.
(setmntent): Check max_mount_entry to test if read_mounts must be
called.
(getmntent): Use MOUNT_SYSTEM flag instead of mnt_t's issys member.
winsup/utils/ChangeLog
winsup/utils/cygcheck.cc
winsup/utils/path.cc
This page took 0.030057 seconds and 5 git commands to generate.