summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygcheck.cc (common_apps): Add crontab, vi, vim.Christopher Faylor2005-12-292-0/+7
|
* * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib".Corinna Vinschen2005-12-192-1/+5
|
* * cygcheck.cc (common_apps): Add a few more binaries to look for.Christopher Faylor2005-12-152-0/+8
|
* * strace.cc (show_usecs): Renamed from 'usecs'.Christopher Faylor2005-12-053-7/+18
| | | | | | | (main): Use show_usecs rather than usecs. Toggle delta if '-u' is specified. (handle_output_debug_string): Avoid printing microsecond timestamp if show_usecs == 0. * utils.sgml (strace): Add words to describe '-u'.
* * Makefile.in: Link cygcheck with libwininet.a.Christopher Faylor2005-11-225-38/+272
| | | | | | | | | | | | | | * cygcheck.cc: Add includes. (grep_packages): New global variable. (display_internet_error): New function. (safe_chars): New global variable. (base_url): Ditto. (package_grep): New function. (usage): Reword --help output for clarity. Document new argument. (longopts): Add 'package-query' option. (opts): Add 'p' option, reorder to be consistent with 'longopts'. (main): Accommodate new option. * utils.sgml (cygcheck): Update --help output. Document new -p option.
* revert erroneous checkinChristopher Faylor2005-10-111-5/+2
|
* * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor2005-10-111-2/+5
|
* add other optionsChristopher Faylor2005-10-031-0/+7
|
* Fix typo.Corinna Vinschen2005-09-211-8/+8
|
* Align error message handling to mkpasswd's error messages throughout.Corinna Vinschen2005-09-213-63/+145
| | | | | | | | | | | | | | | | * mkgroup.c (print_win_error): Create macro calling ... (_print_win_error): ... this function created from former print_win_error. Move up in source. (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. * mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. Rename local variable domain_name_specified to domain_specified as in mkgroup.c.
* * regtool.cc: Extend copyright-years.Corinna Vinschen2005-09-082-7/+19
| | | | | | | | | | (print_version): Ditto. (cmd_list): Don't depend on terminating '\0' being present on string-values. (cmd_get): Don't attempt to read more than present, but keep extra space for terminating '\0'. Really output REG_BINARY. Don't leak memory. (cmd_set): Include trailing '\0' in string's length.
* * passwd.c (longopts): Add --logonserver option.Corinna Vinschen2005-08-182-21/+65
| | | | | | | | | | | | (opts): Add -d option. (GetPW): Add server parameter which is given to Net functions. (ChangePW): Ditto. (PrintPW): Ditto. (SetModals): Ditto. (usage): Add description for -d/--logonserver option. (main): Add option handling for -d/--logonserver. Use LOGONSERVER environment variable content for server to contact, unless -d/--logonserver option is given. If both is missing, use NULL.
* * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.Brian Dessent2005-08-172-31/+48
| | | | Avoid extraneous cygrunsrv invocation if 'verbose' is true.
* * mount.cc (longopts): Fix typo which disallows --options option.Corinna Vinschen2005-08-032-2/+6
|
* * cygcheck.cc (find_on_path): Perform .exe magic on non-PATH search.Christopher Faylor2005-07-192-1/+13
|
* * cygcheck.cc (track_down, cygcheck): Return true on success.Christopher Faylor2005-07-052-16/+25
| | | | (main): Reflect cygcheck failures in exit status.
* * parse_pe.c (exclusion::sort_and_check): Remove crude cast.Corinna Vinschen2005-06-142-1/+5
|
* * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PCCorinna Vinschen2005-05-302-17/+31
| | | | | Editions. Change .NET to 2003 throughout. Recognize 2003 Web Server and Datacenter Server. Report when running in terminal server session.
* * cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.Christopher Faylor2005-05-273-34/+39
| | | | * strace.cc (load_cygwin): Ditto.
* * cygcheck.cc (dump_sysinfo_services): Add new function that usesCorinna Vinschen2005-05-232-1/+101
| | | | | | new cygrunsrv options to dump service info. (dump_sysinfo): Call dump_sysinfo_services if running under NT. Change 'Cygnus' to 'Cygwin' in output.
* * cygcheck.cc (load_cygwin): Remove debugging statement.Christopher Faylor2005-05-202-1/+4
|
* * cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.Christopher Faylor2005-05-202-20/+34
| | | | | (nuke): Fix off by one error in allocation of environment variable. (load_cygwin): Always set PATH even if cygwin environment is empty.
* * cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor2005-05-174-4/+15
| | | | | * strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
* * cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor2005-05-162-2/+9
|
* * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen2005-05-153-5/+20
| | | | | (print_version): Fix copyright. * strace.cc (print_version): Ditto.
* * mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2005-05-132-4/+6
|
* * cygcheck.cc (nuke): New function.Christopher Faylor2005-05-092-0/+47
| | | | | | (load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
* * strace.cc (attach_process): Don't call load_cygwin(). Assume that it'sChristopher Faylor2005-05-092-3/+16
| | | | | | already happened. (dotoggle): Ditto. (main): Set argv from cygwin environment, if it exists.
* * mount.cc (usage): Clarify action of -m option.Christopher Faylor2005-05-013-2/+6
|
* * path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags toDave Korn2005-04-292-1/+10
| | | | mnt_opts string if present in mount flags.
* * mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2005-04-251-0/+4
|
* * utils.sgml (mount): Clarify setting cygdrive prefix for userCorinna Vinschen2005-04-202-3/+10
| | | | and system-wide.
* * cygcheck.cc (init_paths): Use full path instead of "." for theCorinna Vinschen2005-03-242-3/+15
| | | | | current directory. Do not add "." if present in $PATH. (dump_sysinfo): Skip placeholder first value of paths[].
* * kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't padChristopher Faylor2005-03-082-2/+7
| | | | signal name with spaces.
* * strace.cc (handle_output_debug_string): Fix compiler warning.Corinna Vinschen2005-03-072-2/+6
|
* * cygpath.cc (usage): Pass in one more copy of program_name to printf to avoidChristopher Faylor2005-03-062-1/+6
| | | | a SEGV.
* * regtool.cc (opts): The argument to 'K' is not optional.Christopher Faylor2005-02-272-5/+8
| | | | (main): Revert previous change. Just let getopt deal with missing argument.
* * regtool.cc (main): Avoid a SEGV when nothing follows -K.Christopher Faylor2005-02-272-1/+8
|
* * kill (getsig): Avoid buffer overflow when generating a signal name.Christopher Faylor2005-02-273-3/+9
| | | | * strace.cc (handle_output_debug_string): Make error a little more specific.
* * cygpath.cc (usage): Clarify help output to indicate acceptanceJoshua Daniel Franklin2005-02-243-12/+19
| | | | of multiple file names as arguments.
* * ps.cc (main): Eliminate use of PID_ZOMBIE.Christopher Faylor2005-01-163-3/+22
| | | | | | | * strace.cc (main): Recognize new option for displaying hex value of strace type. (handle_output_debug_string): Prepend output with hex value of strace message if -H is specified.
* 2005-01-11 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2005-01-112-7/+19
| | | | | | | | | * mkpasswd.c (print_win_error): Transform into macro. (_print_win_error): Upgrade former print_win_error by printing the line. (current_user): Call _print_win_error. (enum_users): Print name in case of lookup failure. (enum_local_groups): Ditto.
* * .sgml: Cleanup markup for XML validity.Joshua Daniel Franklin2004-12-241-7/+7
|
* * cygcheck.cc (eprintf): New function.Bas van Gompel2004-11-182-0/+13
|
* * cygcheck.cc (find_on_path): Clear show_error and/or print_failedBas van Gompel2004-11-162-6/+14
| | | | | | | parameters to display_error. (rva_to_offset): Ditto. (dll_info): Ditto. (track_down): Ditto.
* 2004-11-13 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-11-132-14/+29
| | | | | | | * kill.cc (forcekill): Do not pass negative pids to cygwin_internal. Check if sig == 0. Improve error messages. (main): Make pid a long long and distinguish between pids, gpids (i.e. negative pids) and Win9x pids.
* * cygcheck.cc: Change "keyeprint" to "display_error" throughout.Christopher Faylor2004-11-112-40/+44
|
* * cygcheck.cc (main): Allow a '-l' without an additional argument.Christopher Faylor2004-11-112-10/+8
|
* * cygcheck.cc (keyeprint): New optional parameters: show_error andBas van Gompel2004-11-112-2/+12
| | | | print_failed.
* * cygcheck.cc (get_dword): Fix errormessage.Bas van Gompel2004-10-312-7/+14
| | | | | | (cygwin_info): Ditto. (track_down): Ditto. (check_keys): Ditto.