Document the GetLocaleInfoA buffer test

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

 




Changelog:

 * dlls/kernel/tests/locale.c

   Mention the applications that depend on the behavior checked by the
GetLocaleInfoA partial buffer test


Index: dlls/kernel/tests/locale.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/locale.c,v
retrieving revision 1.8
diff -u -r1.8 locale.c
--- dlls/kernel/tests/locale.c	12 Dec 2002 03:56:09 -0000	1.8
+++ dlls/kernel/tests/locale.c	12 Dec 2002 18:41:23 -0000
@@ -51,6 +51,9 @@
 	lcid = MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT );
 	ok (lcid == 0x409, "wrong LCID calculated");

+        /* HTMLKit and "Font xplorer lite" expect GetLocaleInfoA to
+         * partially fill the buffer even if it is too short. See bug 637.
+         */
 	strcpy(Expected, "xxxxx");
 	memset( buffer, 'x', sizeof(buffer) );
 	ret = GetLocaleInfoA(lcid, LOCALE_SDAYNAME1, buffer, 0);


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
                     Avoid the Gates of Hell - use Linux.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux