diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-24 19:03:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-24 19:03:12 +0000 |
commit | 0ad10c0f96c86c1727559b91efe347484c3c1fa1 (patch) | |
tree | 4a1f932fa596fbb8571bb1d4a524a5438f4cf0e6 /winsup/utils/ps.cc | |
parent | 199359f062fbe9028de9de4741d365f932672241 (diff) | |
download | cygnal-0ad10c0f96c86c1727559b91efe347484c3c1fa1.tar.gz cygnal-0ad10c0f96c86c1727559b91efe347484c3c1fa1.tar.bz2 cygnal-0ad10c0f96c86c1727559b91efe347484c3c1fa1.zip |
* 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.
Diffstat (limited to 'winsup/utils/ps.cc')
-rw-r--r-- | winsup/utils/ps.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc index 593629c22..362761290 100644 --- a/winsup/utils/ps.cc +++ b/winsup/utils/ps.cc @@ -261,9 +261,10 @@ main (int argc, char *argv[]) char pname[MAX_PATH]; if (p->process_state & PID_ZOMBIE) strcpy (pname, "<defunct>"); - else if (p->progname[0]) + else if (query != CW_GETPINFO_FULL) { char *s; + pname[0] = '\0'; cygwin_conv_to_posix_path (p->progname, pname); s = strchr (pname, '\0') - 4; if (s > pname && strcasecmp (s, ".exe") == 0) |