summaryrefslogtreecommitdiffstats
path: root/winsup/utils/cygcheck.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygcheck.cc (dump_sysinfo): Report the failing drive to prevent having toChristopher Faylor2006-01-051-4/+11
| | | | guess.
* * cygcheck.cc (common_apps): Add crontab, vi, vim.Christopher Faylor2005-12-291-0/+3
|
* * cygcheck.cc (common_apps): Add a few more binaries to look for.Christopher Faylor2005-12-151-0/+4
|
* * Makefile.in: Link cygcheck with libwininet.a.Christopher Faylor2005-11-221-17/+158
| | | | | | | | | | | | | | * 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.
* * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.Brian Dessent2005-08-171-31/+43
| | | | Avoid extraneous cygrunsrv invocation if 'verbose' is true.
* * cygcheck.cc (find_on_path): Perform .exe magic on non-PATH search.Christopher Faylor2005-07-191-1/+8
|
* * cygcheck.cc (track_down, cygcheck): Return true on success.Christopher Faylor2005-07-051-14/+18
| | | | (main): Reflect cygcheck failures in exit status.
* * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PCCorinna Vinschen2005-05-301-17/+25
| | | | | 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-271-33/+32
| | | | * strace.cc (load_cygwin): Ditto.
* * cygcheck.cc (dump_sysinfo_services): Add new function that usesCorinna Vinschen2005-05-231-1/+94
| | | | | | 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-201-1/+0
|
* * cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.Christopher Faylor2005-05-201-20/+27
| | | | | (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-171-1/+3
| | | | | * 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-161-2/+5
|
* * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen2005-05-151-4/+13
| | | | | (print_version): Fix copyright. * strace.cc (print_version): Ditto.
* * cygcheck.cc (nuke): New function.Christopher Faylor2005-05-091-0/+40
| | | | | | (load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
* * cygcheck.cc (init_paths): Use full path instead of "." for theCorinna Vinschen2005-03-241-3/+9
| | | | | current directory. Do not add "." if present in $PATH. (dump_sysinfo): Skip placeholder first value of paths[].
* * cygcheck.cc (eprintf): New function.Bas van Gompel2004-11-181-0/+9
|
* * cygcheck.cc (find_on_path): Clear show_error and/or print_failedBas van Gompel2004-11-161-6/+6
| | | | | | | parameters to display_error. (rva_to_offset): Ditto. (dll_info): Ditto. (track_down): Ditto.
* * cygcheck.cc: Change "keyeprint" to "display_error" throughout.Christopher Faylor2004-11-111-39/+39
|
* * cygcheck.cc (main): Allow a '-l' without an additional argument.Christopher Faylor2004-11-111-10/+4
|
* * cygcheck.cc (keyeprint): New optional parameters: show_error andBas van Gompel2004-11-111-2/+7
| | | | print_failed.
* * cygcheck.cc (get_dword): Fix errormessage.Bas van Gompel2004-10-311-7/+7
| | | | | | (cygwin_info): Ditto. (track_down): Ditto. (check_keys): Ditto.
* * cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1Bas van Gompel2004-10-271-1/+9
| | | | dlls.
* * cygcheck.cc (dump_sysinfo): Add leading newline before legend forBas van Gompel2004-10-251-1/+1
| | | | drive-list.
* fix whitespace, update some copyrightsChristopher Faylor2004-10-251-3/+3
|
* * cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' andBas van Gompel2004-10-221-4/+5
| | | | ``unk''. Use single puts. Add leading newline. Line up equal-signs.
* * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. ChangeChristopher Faylor2004-10-211-3/+3
| | | | ``Used'' to ``Free'' in helptext-title for drive-list.
* * cygcheck.cc (pretty_id): Don't let i become negative. FixCorinna Vinschen2004-10-181-2/+2
| | | | printf-format.
* * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.Christopher Faylor2004-10-181-2/+2
|
* * cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid.Christopher Faylor2004-10-171-4/+4
|
* * cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations.Christopher Faylor2004-10-151-9/+10
|
* * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is actingChristopher Faylor2004-10-141-31/+30
| | | | funny.
* * cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''.Christopher Faylor2004-10-101-1/+4
|
* * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries.Christopher Faylor2004-10-091-0/+6
|
* * cygcheck.cc (dump_sysinfo): Don't warn about empty path components, justChristopher Faylor2004-10-091-2/+2
| | | | display ``.''.
* * cygcheck.cc (dump_sysinfo): Warn about empty path-components.Corinna Vinschen2004-10-061-1/+4
|
* * cygcheck.cc (pretty_id): Close pipe.Corinna Vinschen2004-10-041-0/+1
|
* * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.Christopher Faylor2004-03-211-1/+1
|
* * strace.cc: Update copyrights.Christopher Faylor2004-02-101-2/+2
| | | | * cygcheck.cc: Update copyrights.
* * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.Christopher Faylor2004-02-101-0/+1
| | | | * cygcheck.cc (main): Ditto.
* * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.Christopher Faylor2004-01-231-3/+16
|
* * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.Christopher Faylor2003-10-171-4/+1
|
* * cygcheck.cc (dump_only): New global variable.Corinna Vinschen2003-09-111-3/+12
| | | | | | | (usage): Add "--dump-only" option, fix "--verbose" line. (longopts, opts): Add "--dump-only" option. (main): Process the "--dump-only" flag. Add new semantic check. Pass dump_only information to dump_setup().
* * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.Christopher Faylor2003-09-111-3/+3
| | | | | | * cygcheck.cc: Just include <getopt.h> rather than cygwin version. (pretty_id): Avoid compiler warnings. * cygpath.cc (usage): Ditto.
* * cygcheck.cc (main): Fix some formatting and help text printing.Corinna Vinschen2003-08-151-29/+47
| | | | | | | | | | | | | | | | | | | | | | * cygcheck.cc (find_package,list_package): New global variables. (usage): Add "--find-package" and "--list-package" options, reformat output. (longopts, opts): Add "--find-package" and "--list-package" options. (main): Process the "--find-package" and "--list-package" flags. Add new semantic checks. Add calls to find_package() and list_package(). * dump_setup.cc: Fix header comment. (match_argv): Change return type to int to distinguish between real matches and default ones. (open_package_list): New static function. (check_package_files): Factor out opening the package list file into open_package_list(). (get_packages): New static function. (dump_setup): Factor out getting a list of packages into get_packages(). (package_list, package_find): New global functions.
* * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.Christopher Faylor2003-06-131-7/+7
|
* * cygcheck.cc (usage) Add description output.Joshua Daniel Franklin2003-04-261-1/+3
|
* * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable isChristopher Faylor2003-03-251-1/+5
| | | | correctly set.
* * Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor2003-03-041-1/+1
| | | | | | | | * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.