summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (MINGW_INCLUDES): Change cygwin include.Christopher Faylor2002-01-293-35/+108
| | | | | | | | | | | | | * strace.cc: Use specific cygwin includes, as required. (load_cygwin): New function. Loads cygwin DLL, if necessary. (attach_process): Attaches strace to a running process. (dostrace): Accept pid argument. Attach to pid if supplied. (usage): Describe -p option. Correct system description. (longopts): Alphabetize. (opts): Ditto. (main): Ditto. Handle -p option. * Makefile.in (CXXFLAGS): Ensure that important settings are preserved even when overriden by command line.
* * Makefile.in (CXXFLAGS): Ensure that important settings are preserved evenChristopher Faylor2002-01-221-1/+2
| | | | when overriden by command line.
* * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS.Christopher Faylor2002-01-224-8/+33
| | | | | | | | * cygcheck.cc (cygwin_info): Intitialize variable to quiet g++ warning. (dump_sysinfo): Make variables unsigned to quiet g++ warnings. * strace.cc (version_string): Rename from SCCSid. (add_child): Remove unused variable. (version): Use version_string. Avoid use of fprintf.
* * Makefile.in: Use CXX instead of CC to compile C++ sources.Christopher Faylor2002-01-212-6/+10
|
* * cygcheck.cc (already_did): Avoid default constructors, which may requireChristopher Faylor2002-01-182-1/+6
| | | | exception support.
* * cygpath.cc (main): Add options to show Desktop and StartCorinna Vinschen2002-01-173-40/+149
| | | | | | Menu's Programs directory for current user or all users. Move bulk of DPWS options outside the getopt case statement. * utils.sgml: Update cygpath section for ADPWS options.
* * cygpath.cc (doit): Empty file ignored using option -i.Corinna Vinschen2002-01-152-2/+11
|
* * mkpasswd.c (print_win_error): Add a new function.Corinna Vinschen2002-01-152-24/+33
| | | | | | (enum_users): Use print_win_error. (enum_local_groups): Ditto. (main): Ditto.
* * cygpath.cc (doit): Detect and warn about an empty path. Detect and warnChristopher Faylor2001-12-262-7/+32
| | | | | | about errors converting a path. (main): Set prog_name correctly -- don't leave an extra slash or backslash at the beginning of it.
* * mkpasswd.c (enum_users): Change to unconditionally useCorinna Vinschen2001-12-142-12/+27
| | | | | | | the --path-to-home option, if supplied by the user. Use default --path-to-home option value, if appropriate. (usage): Change usage statement to reflect new semantics. (main): Remove defaulting of the --path-to-home option.
* * mkpasswd.c (opts): Add indication that '-p' option requires an argument.Christopher Faylor2001-12-142-1/+6
|
* * Makefile.in: Add define to CXXFLAGS.Christopher Faylor2001-12-118-12/+15
|
* remove extra mask infoChristopher Faylor2001-12-041-1/+1
|
* remove extra mask infoChristopher Faylor2001-12-041-21/+0
|
* * cygcheck.cc (usage): Add -c description.Christopher Faylor2001-12-045-83/+142
| | | | | * cygpath.cc (usage): Alphabetize options. * strace.cc (usage): Ditto.
* Fix typo.Christopher Faylor2001-11-241-1/+1
|
* * path.cc (cygpath): Don't consider cygpath stuff when trying to derive nativeChristopher Faylor2001-11-222-1/+9
| | | | paths.
* Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:Corinna Vinschen2001-11-212-20/+60
| | | | | | | | | | | * mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
* Change copyright.Christopher Faylor2001-11-211-1/+1
|
* * strace.cc (main): Change getopt() to getopt_long().Corinna Vinschen2001-11-172-2/+234
| | | | | | | | | | | | | | | | Add support for help and version info. Use new parse_mask() function for -m/--mask option. (longopts): Add long options structure. (opts): Move options string from getopts call to static var. (usage): Print usage information. (SCCSid): Version info. (version): New function for displaying version info. (parse_mask): New function supporting parsing of mnemonics, hex, and basic expressions in masks. (mnemonic2ul): New mnemonic parsing function. (tag_mask_mnemonic): New type. (mnemonic_table): New table of mnemonics for mnemonic2ul() to search through.
* Fix ChangeLog entry.Corinna Vinschen2001-11-121-0/+1
|
* * cygcheck.cc (dump_sysinfo): Redefine output format slightly.Corinna Vinschen2001-11-122-3/+10
|
* * cygcheck.cc (main): Slight formatting tweak.Christopher Faylor2001-11-122-1/+6
|
* * cygcheck.cc (dump_sysinfo): Add some more details.Corinna Vinschen2001-11-122-4/+22
|
* Add missing ChangeLog entry.Christopher Faylor2001-11-121-0/+4
|
* * cygcheck.cc (dump_sysinfo): Print more detailed OS information stringCorinna Vinschen2001-11-122-12/+39
| | | | using OSVERSIONINFOEX information.
* * path.h: New file.Christopher Faylor2001-11-121-0/+11
|
* * cygcheck.cc (scan_registry): Open registry with read-only access.Christopher Faylor2001-11-125-16/+32
| | | | | | (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.
* * cygcheck.cc (main): Display package info when '-s' is specified.Christopher Faylor2001-11-113-6/+17
| | | | | * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output.
* * dump_setup.cc: New file.Christopher Faylor2001-11-115-25/+303
| | | | | | * 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.
* * Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.Christopher Faylor2001-11-114-13/+423
| | | | | | | | * 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.
* * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.Corinna Vinschen2001-11-092-4/+25
|
* * getfacl.c (username): New function.Corinna Vinschen2001-11-043-51/+255
| | | | | | | | | | | | | (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.
* * strace.cc (main): New option '-w'. Start traced process in separateEgor Duda2001-11-042-3/+31
| | | | | | 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.
* Clarify checkin comment slightly.Christopher Faylor2001-10-241-1/+2
|
* * Makefile.in: Remove EXEEXT consideration. We always need EXEEXT.Christopher Faylor2001-10-242-1/+5
|
* * Makefile.in: Only build testsuite directory on first 'make check'.Christopher Faylor2001-10-242-5/+4
| | | | | * configure.in: Remove testsuite from SUBDIRS. * configure: Regenerate.
* * mkgroup.c: Avoid compiler warnings.Corinna Vinschen2001-10-203-207/+238
| | | | | | | | | | (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().
* * mkpasswd.cc (enum_users): Shorten "unused" passwd field.Christopher Faylor2001-10-152-1/+5
|
* * Makefile.in: Allow stdinc searching for dumper.Christopher Faylor2001-10-132-6/+10
|
* * Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.Christopher Faylor2001-10-102-1/+5
|
* * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.Christopher Faylor2001-10-083-22/+21
|
* * Makefile.in (mingw_getopt.o): Ensure that newlib include directories are notChristopher Faylor2001-09-222-1/+6
| | | | searched.
* * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.Christopher Faylor2001-09-212-1/+5
|
* Add -t option.Christopher Faylor2001-09-191-1/+1
|
* * Makefile.in: Filter newlib includes from mingw compilation.Christopher Faylor2001-09-192-3/+7
|
* * dumper.cc (dumper::dumper): Print error code in case of error.Egor Duda2001-09-142-7/+20
| | | | | | | | (dumper::add_thread): Ditto. (dumper::collect_memory_sections): Ditto. (dumper::dump_memory_region): Ditto. (dumper::collect_process_information): Ditto. (print_section_name): Fix formatting.
* * dumper.cc (main): Properly recognize negative pids (used by w9x).Egor Duda2001-09-132-1/+5
|
* * dumper.cc (main): Change command-line arguments format to beEgor Duda2001-09-092-22/+39
| | | | | | | 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.
* * Makefile.in (dumper): Change logic for libbfd and libintl so that they willChristopher Faylor2001-09-063-5/+11
| | | | | be found either in the build tree or the installed directory. * mkpasswd.c (enum_users): Add a comment as a password for NT.