listhelper-moderate
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug-gnu-utils post from address@hidden requires approval


From: bug-gnu-utils-owner
Subject: bug-gnu-utils post from address@hidden requires approval
Date: Tue, 03 Jul 2007 18:29:07 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: Re: Win32 MUI support for libintl/gettext
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://lists.gnu.org/mailman/admindb/bug-gnu-utils
        
to approve or deny the request.
--- Begin Message --- Subject: Re: Win32 MUI support for libintl/gettext Date: Wed, 04 Jul 2007 00:22:49 +0200 User-agent: Thunderbird 1.5 (Windows/20051201)
What the hell... just spotted a blatant error:

+BOOL CALLBACK enum_res_lang(HANDLE hModule, LPCTSTR lpszType, LPCTSTR
lpszName, WORD wIDLanguage, LONG lParam)
+{
+  lParam = (LONG_PTR)_nl_langid_name_np(wIDLanguage);
+  return FALSE;
+}

This should be:

+BOOL CALLBACK enum_res_lang(HANDLE hModule, LPCTSTR lpszType, LPCTSTR
lpszName, WORD wIDLanguage, LONG_PTR lParam)
+{
+  *(char **)lParam = _nl_langid_name_np(wIDLanguage);
+  return FALSE;
+}

So this:

+      EnumResourceLanguages(hKernel32, RT_VERSION, MAKEINTRESOURCE(1),
enum_res_lang, (LONG_PTR)&lang_names);

needs to become:

+      EnumResourceLanguages(hKernel32, RT_VERSION, MAKEINTRESOURCE(1),
(ENUMRESLANGPROC)enum_res_lang, (LONG_PTR)&lang_names);




--- End Message ---
--- Begin Message --- Subject: confirm c03120769f9598e6b4d97a4282a2a78c9faead5d
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]