summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1Bas van Gompel2004-10-272-1/+14
| | | | dlls.
* whitespaceChristopher Faylor2004-10-251-1/+1
|
* * cygcheck.cc (dump_sysinfo): Add leading newline before legend forBas van Gompel2004-10-252-1/+6
| | | | drive-list.
* fix whitespace, update some copyrightsChristopher Faylor2004-10-258-89/+89
|
* Remove CRsChristopher Faylor2004-10-251-5/+5
|
* * cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' andBas van Gompel2004-10-222-4/+10
| | | | ``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-212-3/+8
| | | | ``Used'' to ``Free'' in helptext-title for drive-list.
* * cygcheck.cc (pretty_id): Don't let i become negative. FixCorinna Vinschen2004-10-182-2/+7
| | | | printf-format.
* fix dateChristopher Faylor2004-10-181-2/+2
|
* * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.Christopher Faylor2004-10-182-3/+7
|
* * cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid.Christopher Faylor2004-10-172-4/+10
|
* * cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations.Christopher Faylor2004-10-152-9/+16
|
* * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is actingChristopher Faylor2004-10-142-31/+36
| | | | funny.
* minor changeChristopher Faylor2004-10-111-1/+1
|
* * cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''.Christopher Faylor2004-10-102-1/+9
|
* * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries.Christopher Faylor2004-10-092-0/+11
|
* * cygcheck.cc (dump_sysinfo): Don't warn about empty path components, justChristopher Faylor2004-10-092-3/+8
| | | | display ``.''.
* * strace.cc (_impure_ptr): Remove.Corinna Vinschen2004-10-062-6/+4
|