2001-11-12 Corinna Vinschen * cygcheck.cc (dump_sysinfo): Print more detailed OS information string using OSVERSIONINFOEX information. 2001-11-11 Christopher Faylor * cygcheck.cc (scan_registry): Open registry with read-only access. (main): Reflect argument change for dump_setup. * dump_setup.cc (dump_setup): Add preliminary extra argument for future use. * path.cc (read_mounts): Open registry with read-only access. 2001-11-11 Christopher Faylor * cygcheck.cc (main): Display package info when '-s' is specified. * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output. 2001-11-11 Christopher Faylor * dump_setup.cc: New file. * Makefile.in: Add info for dump_setup.o. * cygcheck.cc (main): Recognize '-c' option for checking setup installed base. * path.cc (cygpath): Read mount table if not loaded. 2001-11-10 Christopher Faylor * Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable. * path.cc: New file. * cygcheck.cc (init_paths): Use MS-DOS path syntax. (cygwin_info): Properly display cygwin version numbers. Prettify some output. (dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier output. 2001-11-09 Corinna Vinschen * cygcheck.cc (dump_sysinfo): Print more detailed OS information string. 2001-11-04 Corinna Vinschen * getfacl.c (username): New function. (groupname): Ditto. (usage): Ditto. Add more user friendly help text. (main): Add -n and --help option. Print names instead of IDs unless -n option is given. * setfacl.c (getperm): Tolerate whitespace and comment chars in input. (getaclentry): Fix several input string misdetections. (getaclentries): Allow - as input file name to read from stdin. Tolerate whitespace and comment chars in input. (usage): Add more user friendly help text. (main): Add --help option. 2001-11-04 Egor Duda * strace.cc (main): New option '-w'. Start traced process in separate window. New option '-S x'. Flush buffered output every x seconds. (create_child): Start child process in new window, when requested. When requested, periodically flush debugging output. 2001-10-24 Christopher Faylor * Makefile.in: Remove EXEEXT consideration. We always need .exe extensions. 2001-10-20 Corinna Vinschen * mkgroup.c: Avoid compiler warnings. (print_special): New function. (main): Print special accounts by calling print_special(). * mkpasswd.c: Avoid compiler warnings. (enum_users): Print additional U-domain\username info in gecos field when SIDs are printed. (print_special): New function. (main): Print special accounts by calling print_special(). 2001-10-15 Christopher Faylor * mkpasswd.cc (enum_users): Shorten "unused" passwd field. 2001-10-13 Christopher Faylor * Makefile.in: Allow stdinc searching for dumper. Tue Oct 9 21:59:00 2001 Christopher Faylor * Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common. Sun Oct 7 23:06:39 2001 Christopher Faylor * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup. Fri Sep 21 20:40:30 2001 Christopher Faylor * Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not searched. Thu Sep 20 21:00:20 2001 Christopher Faylor * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory. Wed Sep 19 12:22:08 2001 Christopher Faylor * Makefile.in: Filter newlib includes from mingw compilation. 2001-09-14 Egor Duda * dumper.cc (dumper::dumper): Print error code in case of error. (dumper::add_thread): Ditto. (dumper::collect_memory_sections): Ditto. (dumper::dump_memory_region): Ditto. (dumper::collect_process_information): Ditto. (print_section_name): Fix formatting. 2001-09-13 Egor Duda * dumper.cc (main): Properly recognize negative pids (used by w9x). 2001-09-09 Egor Duda * dumper.cc (main): Change command-line arguments format to be similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to CYGWIN environment variable to perform core dumping in case of program crash. (usage): Ditto. Wed Sep 5 22:37:21 2001 Christopher Faylor * Makefile.in (dumper): Change logic for libbfd and libintl so that they will be found either in the build tree or the installed directory. * mkpasswd.c (enum_users): Add a comment as a password for NT. 2001-09-03 Michael A Chase * mount.cc (mount_commands): Don't write /cygdrive/u mount points. 2001-09-03 Michael A Chase * mount.cc (longopts): Add mount-commands to options list. (usage): Add mount-commands option. (mount_commands): New function. Write commands to recreate current mounts. Sat Sep 1 15:58:11 2001 Christopher Faylor * mount.cc (main): Eliminate excess arguments in printf. 2001-08-30 Egor Duda * dumper.h: Update copyright notice. * dumper.cc: Ditto. * dumper.cc: (dumper::print_core_section_list): New function. * dumper.h: (dumper::print_core_section_list): Declare it. * dumper.cc (print_section_name): New function. (dumper::collect_process_information): Augment debugging output. Stop debugee processing if it posts double exception. (usage): Fix typo in option name. Tue Aug 28 14:45:02 2001 Christopher Faylor * mount.cc (main): Issue correct warning for 'not enough arguments'. 2001-08-14 Joerg Schaible * cygpath.cc (main): Support -w for Windows (System) directories and return physical correct orthography for the Windows System dir. 2001-07-14 Chris Genly * regtool.cc (find_key): Handle keys with only one subkey. Wed Jun 27 22:46:10 2001 Christopher Faylor * regtool.cc (find_key): Revert previous change. Wed Jun 27 13:37:41 2001 Keith Starsmeare" * regtool.cc (find_key): Allow '/' as a synonym for '\\'. Fri Jun 15 00:49:21 2001 Christopher Faylor * mkpasswd.c (main): Output passwd file in binary mode so that there are no CRs in the file. * umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts. Tue May 1 10:50:48 2001 Christopher Faylor * mkpasswd.c (enum_users): Use /bin/bash as the default shell. (main): Ditto. Sat Apr 28 22:32:01 2001 Christopher Faylor * passwd.cc (ttymnam): New function. (main): Use ttynam() to report name of tty. 2001-04-19 Egor Duda * dumper.cc (dumper::init_core_dump): Set architecture field in dump header. Mon Apr 16 15:08:00 2001 Corinna Vinschen * mkgroup.c: Add function pointers `netlocalgroupgetmembers' and `netgroupgetusers'. (load_netapi): Load function pointers `netlocalgroupgetmembers' and `netgroupgetusers'. (enum_local_users): New function. (enum_local_groups): Call `enum_local_users' for each group if `print_users' is set. (enum_users): New function. (enum_groups): Call `enum_users' for each group if `print_users' is set. (usage): Add usage text for `-u/--users'. (longopts): Add option `--users'. (opts): Add option character `u'. (main): Set `print_users' according to option `-u/--users'. Call `enum_local_groups' and `enum_groups' with additional parameter `print_users'. 2001-04-15 Michael A Chase * mount.cc (longopts): Add help to options list. (opts): Add 'h' to options string. * umount.cc (longopts): Add help to options list. (opts): Add 'h' to options string and change 'R' to 'A'. 2001-04-13 Kazuhiro Fujieda * mkgroup.c (enum_groups): Use RID + offset specified an additional argument as ID. (usage): Add description of -o option. (longopts, opts): Add specifications of -o/--id-offset option. (main): Add -o option. Invoke enum_groups with specified offset. * mkpasswd.c (enum_users): Just like mkgroup.c. (usage, longopts, opts): Ditto. (main): Add -o option. Invoke enum_users with specified offset only against domain accounts. 2001-04-11 Egor Duda * mkgroup.c (uni2ansi): Use native method to convert from Unicode to multi-byte strings. * mkpasswd.c (uni2ansi): Ditto. (enum_users): Pass buffer size when converting string. (enum_local_groups): Ditto. * mkgroup.c (enum_groups): Ditto. (enum_local_groups): Ditto. Mon Apr 2 22:41:33 2001 Christopher Faylor * mount.cc (main): Use getopt_long for parsing arguments. (usage): Reformat, show long and short options. * umount.cc (main): Ditto, all of the above. Mon Apr 2 10:58:26 2001 Christopher Faylor * mount.cc (show_mounts): Change format string to more closely resemble UNIX when displaying mount table. Sat Mar 17 21:46:06 2001 Christopher Faylor * kill.cc (forcekill): Use dwProcessId when opening a process, not the Cygwin pid. Mon Mar 5 18:50:00 2001 Corinna Vinschen * getfacl.c: Add copyright hint. * setfacl.c: Ditto. * strace.cc: Ditto. Tue Jan 09 10:26:23 2001 Tony Sideris * regtool.cc (cmd_list): Add new registry display options. (cmd_list): Add code to implement -p, -k, and -l options. * regtool.cc (Fail): Add call to LocalFree to free memory allocated by FormatMessage. Wed Jan 10 09:16:57 2001 Christopher Faylor * regtool.cc (translate): Ensure that 'c' is initialized. (cmd_set): Ditto for rv.