This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] w32api: Correct Unicode/Ansi defines for GetMappedFileName


At 2007-03-23T10:21:57+0100, Corinna Vinschen wrote:
> Thanks for the patch.  I've applied it.

Well, not quite.  The changes you've applied still have the incorrect case
for GetMappedFileName (note the capital N).  My original patch was correct.
I've attached a new patch against the latest revision to fix up the
capitalization.

> Btw., the w32api is officially maintained by the MinGW folks, see the
> README.w32api file.  Patches to w32api are better off in the appropriate
> mingw mailing list.

Yes, sorry, I totally missed this.  I got confused because the w32api
directory in the MinGW CVS tree is empty and points you to the Cygwin CVS
tree, but, as you say, the README.w32api in the Cygwin w32api source tree
does tell you to send patches to the MinGW developers.  I'll do that next
time.

Thanks,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                    kinetik@flim.org
Index: include/psapi.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/psapi.h,v
retrieving revision 1.3
diff -u -p -r1.3 psapi.h
--- include/psapi.h	23 Mar 2007 09:17:26 -0000	1.3
+++ include/psapi.h	23 Mar 2007 12:24:47 -0000
@@ -76,13 +76,13 @@ BOOL WINAPI GetProcessMemoryInfo(HANDLE,
 #ifdef UNICODE
 #define GetModuleBaseName GetModuleBaseNameW
 #define GetModuleFileNameEx GetModuleFileNameExW
-#define GetMappedFilename GetMappedFilenameW
+#define GetMappedFileName GetMappedFileNameW
 #define GetDeviceDriverBaseName GetDeviceDriverBaseNameW
 #define GetDeviceDriverFileName GetDeviceDriverFileNameW
 #else
 #define GetModuleBaseName GetModuleBaseNameA
 #define GetModuleFileNameEx GetModuleFileNameExA
-#define GetMappedFilename GetMappedFilenameA
+#define GetMappedFileName GetMappedFileNameA
 #define GetDeviceDriverBaseName GetDeviceDriverBaseNameA
 #define GetDeviceDriverFileName GetDeviceDriverFileNameA
 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]