2015-06-17 Joseph Myers <joseph@codesourcery.com>
+ [BZ #18542]
+ * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
+ (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
+ * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
+ * libio/swscanf.c (__swscanf): Call __vswscanf instead of
+ vswscanf.
+ * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
+ Remove variable.
+
[BZ #18540]
* libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
strong alias of _IO_fflush. Use libc_hidden_def.
18324, 18333, 18346, 18397, 18409, 18410, 18412, 18418, 18422, 18434,
18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498,
18507, 18512, 18519, 18520, 18522, 18527, 18528, 18529, 18530, 18532,
- 18533, 18534, 18536, 18539, 18540.
+ 18533, 18534, 18536, 18539, 18540, 18542.
* Cache information can be queried via sysconf() function on s390 e.g. with
_SC_LEVEL1_ICACHE_SIZE as argument.
test-xfail-XPG4/unistd.h/linknamespace = yes
test-xfail-POSIX/mqueue.h/linknamespace = yes
test-xfail-UNIX98/mqueue.h/linknamespace = yes
-test-xfail-UNIX98/wchar.h/linknamespace = yes
extern int __isoc99_vswscanf (const wchar_t *__restrict __s,
const wchar_t *__restrict __format,
__gnuc_va_list __arg) __THROW;
+extern int __vswscanf (const wchar_t *__restrict __s,
+ const wchar_t *__restrict __format,
+ __gnuc_va_list __arg) __THROW;
libc_hidden_proto (__isoc99_vswscanf)
+libc_hidden_proto (__vswscanf)
libc_hidden_proto (__isoc99_vfwscanf)
/* Internal functions. */
ret = _IO_vfwscanf ((_IO_FILE *) &sf._sbf, format, args, NULL);
return ret;
}
+libc_hidden_def (__vswscanf)
ldbl_hidden_def (__vswscanf, vswscanf)
-ldbl_strong_alias (__vswscanf, vswscanf)
+ldbl_weak_alias (__vswscanf, vswscanf)
int done;
va_start (arg, format);
- done = vswscanf (s, format, arg);
+ done = __vswscanf (s, format, arg);
va_end (arg);
return done;