CVSROOT: /cvs/src Module name: src Changes by: cori...@sourceware.org 2012-07-11 16:41:52
Modified files: winsup/utils : ChangeLog Makefile.in bloda.cc cygcheck.cc dump_setup.cc strace.cc Log message: * Makefile.in (cygcheck.exe): Link against psapi.dll. * bloda.cc: Change include section to work with Mingw64 headers. Include psapi.h. Use SystemProcessInformation instead of SystemProcessesAndThreadsInformation throughout and add define for w32api headers. Ditto for PSYSTEM_PROCESS_INFORMATION vs. PSYSTEM_PROCESSES. (system_module_list): New type to replace SYSTEM_MODULE_INFORMATION. Change usage throughout accordingly. (get_module_list): Fetch module list using PSAPI functions EnumDeviceDrivers and GetDeviceDriverBaseNameA. * cygcheck.cc (max): Define as __max if not defined already. (alloca): Only define if not defined already. (handle_unique_object_name): Use explicit sharing flags rather than FILE_SHARE_VALID_FLAGS which officially is only available in DDK headers. (PRODUCT_ULTIMATE_E): Only define if not defined already. * dump_setup.cc: Change include section to work with Mingw64 headers. (NtQueryAttributesFile): Drop NTOSAPI aka DECLSPEC_IMPORT. * strace.cc: Change include section to work with Mingw64 headers. (alloca): Only define if not defined already. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.586&r2=1.587 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/Makefile.in.diff?cvsroot=src&r1=1.99&r2=1.100 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/bloda.cc.diff?cvsroot=src&r1=1.5&r2=1.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/cygcheck.cc.diff?cvsroot=src&r1=1.132&r2=1.133 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/dump_setup.cc.diff?cvsroot=src&r1=1.23&r2=1.24 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/strace.cc.diff?cvsroot=src&r1=1.63&r2=1.64