diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 17:48:05 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 17:48:05 +0400 |
commit | 185ad82d2dd9bb352cacdeb6cfab7a4f9dfae826 (patch) | |
tree | 6826b6686f11ec7a80963fc2720f43c115314a87 /winsup/utils/Makefile.in | |
parent | a6ae9400a7b73c98822a14ade728aa559ae646af (diff) |
Don't leave Windows 2000 behind.
* Makefile.in (ps.exe): Revert previous change.
* ps.cc: Include psapi.h again.
(main): In CW_GETPINFO_FULL case. Evaluate minimal process access mask
required per OS and use that in OpenProcess call. Use
GetModuleFileNameExW on Windows 2000 or if fetching the drive mapping
failed. Handle empty process name.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r-- | winsup/utils/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index b84432c7f..bea7070c6 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -77,7 +77,7 @@ mount.exe: path-mount.o cygcheck.exe: MINGW_LDFLAGS += -lntdll cygpath.exe: ALL_LDFLAGS += -lcygwin -luserenv -lntdll cygpath.exe: CXXFLAGS += -fno-threadsafe-statics -ps.exe: ALL_LDFLAGS += -lcygwin -lntdll +ps.exe: ALL_LDFLAGS += -lcygwin -lpsapi -lntdll strace.exe: MINGW_LDFLAGS += -lntdll ldd.exe: ALL_LDFLAGS += -lpsapi |