summaryrefslogtreecommitdiffstats
path: root/winsup/utils/cygcheck.cc
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * 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
|