1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-29 06:42:03 +03:00
Files
glibc/string
Joseph Myers 3b20fd5c0d Fix test-strchr.c warnings for wide string testing.
string/test-strchr.c is used for both wide and narrow string testing,
but produces a series of warnings for wide string testing because of
hardcoded use of narrow characters in the function check1.  This patch
fixes that function to use macros abstracting away the wide / narrow
string choice, adding a new such macro to handle the string and
character constants.

Tested for x86_64.

	* string/test-strchr.c [!WIDE] (L): New macro.
	[WIDE] (L): Likewise.
	(check1): Use CHAR instead of char.  Use L on string and character
	constants.
2014-11-26 12:52:08 +00:00
..
2006-01-10 00:25:07 +00:00
2014-06-07 19:58:36 +00:00
2014-07-04 09:23:21 +01:00
2014-11-14 13:48:39 +00:00
2014-11-14 13:48:39 +00:00
2014-11-24 17:18:51 +05:30
2014-11-24 20:39:38 +00:00
2014-11-24 15:15:10 +00:00
2009-03-14 23:57:33 +00:00
2013-02-17 16:34:04 +01:00