This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/utils ChangeLog Makefile.in ps.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 22 Dec 2011 13:48:05 -0000
- Subject: src/winsup/utils ChangeLog Makefile.in ps.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2011-12-22 13:48:05
Modified files:
winsup/utils : ChangeLog Makefile.in ps.cc
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.574&r2=1.575
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/Makefile.in.diff?cvsroot=src&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ps.cc.diff?cvsroot=src&r1=1.34&r2=1.35