Joshua Daniel Franklin
98467dae59
Add final newlines to utils
2002-09-15 19:24:37 +00:00
Corinna Vinschen
50674f2dc3
* ps.cc (main): Use uid or uid32 member of struct external_pinfo
...
dependent of the value of the struct's version member.
2002-05-29 20:10:27 +00:00
Corinna Vinschen
642745443f
* ps.cc (main): Change print format for uid to unsigned. Use uid32
...
member of struct external_pinfo instead of uid.
2002-05-29 15:07:14 +00:00
Corinna Vinschen
6c5e0401d4
* ps.cc (usage): Fix typo.
2002-05-28 14:59:36 +00:00
Christopher Faylor
ad39fa8cb0
* ps.cc (prog_name): New global variable.
...
(longopts): Ditto.
(opts): Ditto.
(usage): New function.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.
2002-05-28 03:38:36 +00:00
Christopher Faylor
e05f3227be
* Makefile.in: Add define to CXXFLAGS.
2001-12-11 22:51:01 +00:00
Christopher Faylor
64c41c76ff
* passwd.cc (ttymnam): New function.
...
(main): Use ttynam() to report name of tty.
2001-04-29 02:32:18 +00:00
Christopher Faylor
b8cb783f28
* ps.cc (main): Add some extra space to Windows pid output for Windows 95.
2000-10-18 22:58:34 +00:00
Christopher Faylor
04f1fe89ec
* ps.cc (main): Add some extra space to pid output for Windows 95.
2000-10-18 04:55:01 +00:00
Christopher Faylor
5460fae73f
* ps.cc (main): Accomodate new PID_ constant.
2000-10-15 03:43:48 +00:00
Christopher Faylor
aaf0dee260
* ps.cc (main): Change order of reporting slightly so that windows pids are
...
more obvious.
* strace.cc (add_child): Just add child's pid directly.
(remove_child): No need to close the child process pid since ContinueDebugEvent
does that automatically.
(proc_child): Ditto for child thread.
2000-10-09 03:31:10 +00:00
Christopher Faylor
4bb85e7f67
* ps.cc (main): Always print a cygwin process using cygwin paths.
2000-08-25 02:25:52 +00:00
Christopher Faylor
0ad10c0f96
* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
...
* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.
2000-08-24 19:03:12 +00:00
Christopher Faylor
cc631726d3
* kill.cc (main): Add '-f' option to force termination of a process.
...
(forcekill): New function.
* ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids.
(dummyprocessmodules): New function.
(GetModuleFileNameEx95): New function.
(init_win): New function.
(to_time_t): New function.
2000-07-29 16:26:37 +00:00
Christopher Faylor
e73a56e982
* Makefile.in: Eliminate WINSUP_DEPS.
...
* cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes.
* mkgroup.c: Ditto.
* mkpasswd.c: Ditto.
* mount.cc: Ditto. Eliminate use of cygwin source specific includes.
* ps.cc: Ditto.
* cygwin.cc: Eliminate obsolete file.
2000-05-18 18:39:11 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00