CVSROOT: /cvs/src
Module name: src
Changes by: [email protected] 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