summaryrefslogtreecommitdiffstats
path: root/winsup/utils/cygcheck.cc
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.Christopher Faylor2003-03-011-3/+83
| | | | | | | * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
* * cygcheck.cc (common_apps): Add some more apps.Christopher Faylor2003-02-071-0/+7
| | | | * path.cc (get_cygdrive): Correctly set system flag.
* * cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.Christopher Faylor2002-09-191-1/+1
|
* * cygcheck.cc: Reorder includes to avoid compiler error.Christopher Faylor2002-09-171-2/+2
|
* Add final newlines to utilsJoshua Daniel Franklin2002-09-151-1/+2
|
* * cygcheck.cc: Reformat.Christopher Faylor2002-03-071-37/+39
|
* * cygcheck.cc (longopts): Use correct short option for --version.Christopher Faylor2002-03-071-1/+1
|
* * cygcheck.cc (main): Eliminate non-GNU formatting glitch.Christopher Faylor2002-02-271-2/+1
|
* * ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com>Christopher Faylor2002-02-271-39/+73
| | | | | | | | | | | | | | | Change appropriate globals to statics throughout. * cygcheck.cc (usage): Simplify usage output. Generalize to allow use for help. (longopts): Add version option. (opts): Add 'V" version option. (print_version): New function. (main): Accommodate new version option. Accommodate usage parameter changes. Use usage to output help message. * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is defined. (libbfd): Use -B rather than -L so that bfd from build directory is correctly found. (libintl): Ditto.
* * cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.hChristopher Faylor2002-01-291-5/+3
| | | | | | | instead. * getfacl.c: Add include to remove warning. * mkgroup.c (main): Assign variables outside of parameter passing. This seems to eliminate some compiler warnings.
* * cygcheck.cc: Use specific cygwin includes, as required.Christopher Faylor2002-01-291-5/+5
|
* * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS.Christopher Faylor2002-01-221-3/+4
| | | | | | | | * 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.
* * cygcheck.cc (already_did): Avoid default constructors, which may requireChristopher Faylor2002-01-181-1/+1
| | | | exception support.
* * Makefile.in: Add define to CXXFLAGS.Christopher Faylor2001-12-111-1/+1
|
* * cygcheck.cc (usage): Add -c description.Christopher Faylor2001-12-041-9/+7
| | | | | * cygpath.cc (usage): Alphabetize options. * strace.cc (usage): Ditto.
* * cygcheck.cc (dump_sysinfo): Redefine output format slightly.Corinna Vinschen2001-11-121-3/+6
|
* * cygcheck.cc (main): Slight formatting tweak.Christopher Faylor2001-11-121-1/+2
|
* * cygcheck.cc (dump_sysinfo): Add some more details.Corinna Vinschen2001-11-121-4/+18
|
* * cygcheck.cc (dump_sysinfo): Print more detailed OS information stringCorinna Vinschen2001-11-121-12/+34
| | | | using OSVERSIONINFOEX information.
* * cygcheck.cc (scan_registry): Open registry with read-only access.Christopher Faylor2001-11-121-5/+5
| | | | | | (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-111-1/+8
| | | | | * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output.
* * dump_setup.cc: New file.Christopher Faylor2001-11-111-7/+21
| | | | | | * 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-111-13/+47
| | | | | | | | * 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-091-4/+21
|
* * cygcheck.cc (cygwin_info): Add some more bounds checking. From Matt HargetChristopher Faylor2000-12-161-46/+176
| | | | | | | | | | | | | | | | | | | <matt@use.net>: * utils/cygcheck.cc (keyeprint): Move declaration before other functions so it could be used by all functions to report error messages. Add comment. (add_path): Check for NULL return from malloc. (find_on_path): Check initial uses of pointers for NULL. (rva_to_offset): Ditto. (init_paths): Add checking for return values of Win32 calls. (get_dword): Ditto. (get_word): Ditto. (dll_info): Ditto, also add NULL pointer checks. (scan_registry): Ditto. (check_keys): Ditto. (dump_sysinfo): Ditto. Add default case to switch. Add error reporting if GetVolumeInformation fails, except when it returns ERROR_NOT_READY. (track_down): Add checking for NULL pointers and return values of Win32 calls. (cygwin_info): Ditto. Correct small memory leak.
* * Makefile.in: Accomodate newer gcc's which require linking of c++ programsChristopher Faylor2000-10-281-33/+13
| | | | | | | | with g++. Fixup output for some compilations. * cygcheck.cc: Respond to compiler warnings. * dumper.cc (main): Ditto. * parse_pe.cc (exclusion::sort_and_check): Ditto. * setfacl.cc (getaclentry): Ditto.
* Cleanup formatting on some files. Remove excessive whitespace.Christopher Faylor2000-10-281-133/+152
|
* * cygcheck.cc (main): Fix argument counting.Corinna Vinschen2000-10-161-3/+3
|
* * cygcheck.cc (keyeprint): New function.Corinna Vinschen2000-09-291-20/+139
| | | | | | | | (check_keys): New function. Perform checking keycodes. (main): Add option `-k' for invoking check_keys. Change option processing to use long options and getopt_long. * cygkeycheck.cc: Removed. Functionality moved to `cygcheck.cc'. * Makefile.in: Remove cygkeycheck from the dependencies.
* * cygcheck.cc (cygwin_info): New function. Scans DLL for Cygwin version info.Christopher Faylor2000-06-251-4/+59
| | | | | | | (dll_info): Add path parameter for checking "cygwin1.dll". (track_down): Accomodate additional parameter for dll_info. (ls): Ditto. (dump_sys_info): Always print cygwin1.dll last.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+922