Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' and | Bas van Gompel | 2004-10-22 | 1 | -4/+5 | |
| | | | | ``unk''. Use single puts. Add leading newline. Line up equal-signs. | |||||
* | * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. Change | Christopher Faylor | 2004-10-21 | 1 | -3/+3 | |
| | | | | ``Used'' to ``Free'' in helptext-title for drive-list. | |||||
* | * cygcheck.cc (pretty_id): Don't let i become negative. Fix | Corinna Vinschen | 2004-10-18 | 1 | -2/+2 | |
| | | | | printf-format. | |||||
* | * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid. | Christopher Faylor | 2004-10-18 | 1 | -2/+2 | |
| | ||||||
* | * cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid. | Christopher Faylor | 2004-10-17 | 1 | -4/+4 | |
| | ||||||
* | * cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations. | Christopher Faylor | 2004-10-15 | 1 | -9/+10 | |
| | ||||||
* | * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is acting | Christopher Faylor | 2004-10-14 | 1 | -31/+30 | |
| | | | | funny. | |||||
* | * cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''. | Christopher Faylor | 2004-10-10 | 1 | -1/+4 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries. | Christopher Faylor | 2004-10-09 | 1 | -0/+6 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Don't warn about empty path components, just | Christopher Faylor | 2004-10-09 | 1 | -2/+2 | |
| | | | | display ``.''. | |||||
* | * cygcheck.cc (dump_sysinfo): Warn about empty path-components. | Corinna Vinschen | 2004-10-06 | 1 | -1/+4 | |
| | ||||||
* | * cygcheck.cc (pretty_id): Close pipe. | Corinna Vinschen | 2004-10-04 | 1 | -0/+1 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output. | Christopher Faylor | 2004-03-21 | 1 | -1/+1 | |
| | ||||||
* | * strace.cc: Update copyrights. | Christopher Faylor | 2004-02-10 | 1 | -2/+2 | |
| | | | | * cygcheck.cc: Update copyrights. | |||||
* | * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering. | Christopher Faylor | 2004-02-10 | 1 | -0/+1 | |
| | | | | * cygcheck.cc (main): Ditto. | |||||
* | * cygcheck.cc (pretty_id): Make more robust in absence of id.exe. | Christopher Faylor | 2004-01-23 | 1 | -3/+16 | |
| | ||||||
* | * cygcheck.cc (pretty_id): Don't exec if `id' program is not found. | Christopher Faylor | 2003-10-17 | 1 | -4/+1 | |
| | ||||||
* | * cygcheck.cc (dump_only): New global variable. | Corinna Vinschen | 2003-09-11 | 1 | -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 Faylor | 2003-09-11 | 1 | -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 Vinschen | 2003-08-15 | 1 | -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 Faylor | 2003-06-13 | 1 | -7/+7 | |
| | ||||||
* | * cygcheck.cc (usage) Add description output. | Joshua Daniel Franklin | 2003-04-26 | 1 | -1/+3 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable is | Christopher Faylor | 2003-03-25 | 1 | -1/+5 | |
| | | | | correctly set. | |||||
* | * Makefile.in (strace.exe): Include mingw_getopt.o in link line. | Christopher Faylor | 2003-03-04 | 1 | -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 Faylor | 2003-03-01 | 1 | -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 Faylor | 2003-02-07 | 1 | -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 Faylor | 2002-09-19 | 1 | -1/+1 | |
| | ||||||
* | * cygcheck.cc: Reorder includes to avoid compiler error. | Christopher Faylor | 2002-09-17 | 1 | -2/+2 | |
| | ||||||
* | Add final newlines to utils | Joshua Daniel Franklin | 2002-09-15 | 1 | -1/+2 | |
| | ||||||
* | * cygcheck.cc: Reformat. | Christopher Faylor | 2002-03-07 | 1 | -37/+39 | |
| | ||||||
* | * cygcheck.cc (longopts): Use correct short option for --version. | Christopher Faylor | 2002-03-07 | 1 | -1/+1 | |
| | ||||||
* | * cygcheck.cc (main): Eliminate non-GNU formatting glitch. | Christopher Faylor | 2002-02-27 | 1 | -2/+1 | |
| | ||||||
* | * ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com> | Christopher Faylor | 2002-02-27 | 1 | -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.h | Christopher Faylor | 2002-01-29 | 1 | -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 Faylor | 2002-01-29 | 1 | -5/+5 | |
| | ||||||
* | * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS. | Christopher Faylor | 2002-01-22 | 1 | -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 require | Christopher Faylor | 2002-01-18 | 1 | -1/+1 | |
| | | | | exception support. | |||||
* | * Makefile.in: Add define to CXXFLAGS. | Christopher Faylor | 2001-12-11 | 1 | -1/+1 | |
| | ||||||
* | * cygcheck.cc (usage): Add -c description. | Christopher Faylor | 2001-12-04 | 1 | -9/+7 | |
| | | | | | * cygpath.cc (usage): Alphabetize options. * strace.cc (usage): Ditto. | |||||
* | * cygcheck.cc (dump_sysinfo): Redefine output format slightly. | Corinna Vinschen | 2001-11-12 | 1 | -3/+6 | |
| | ||||||
* | * cygcheck.cc (main): Slight formatting tweak. | Christopher Faylor | 2001-11-12 | 1 | -1/+2 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Add some more details. | Corinna Vinschen | 2001-11-12 | 1 | -4/+18 | |
| | ||||||
* | * cygcheck.cc (dump_sysinfo): Print more detailed OS information string | Corinna Vinschen | 2001-11-12 | 1 | -12/+34 | |
| | | | | using OSVERSIONINFOEX information. | |||||
* | * cygcheck.cc (scan_registry): Open registry with read-only access. | Christopher Faylor | 2001-11-12 | 1 | -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 Faylor | 2001-11-11 | 1 | -1/+8 | |
| | | | | | * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output. | |||||
* | * dump_setup.cc: New file. | Christopher Faylor | 2001-11-11 | 1 | -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 Faylor | 2001-11-11 | 1 | -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 Vinschen | 2001-11-09 | 1 | -4/+21 | |
| | ||||||
* | * cygcheck.cc (cygwin_info): Add some more bounds checking. From Matt Harget | Christopher Faylor | 2000-12-16 | 1 | -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++ programs | Christopher Faylor | 2000-10-28 | 1 | -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. |