glibc/argp
Charles-Antoine Couret 3a67e81d75 argp: do not call _IO_fwide() if _LIBC is not defined
_IO_fwide() is defined in libio.h file. This file is included only
when _LIBC is defined.

So, in case of compilation of these files without _LIBC definition,
the compilation failed due to this unknown function.

Now this function is called when libio.h file is included.

(Change merged from gnulib.  Tested on x86_64.)

	* argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
	conditional on calls to _IO_fwide and putwc_unlocked.  (Merge from
	gnulib.)
	* argp/argp-help.c (__argp_failure): Likewise.
2018-11-29 17:56:55 +00:00
..
argp-ba.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-eexst.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-fmtstream.c argp: do not call _IO_fwide() if _LIBC is not defined 2018-11-29 17:56:55 +00:00
argp-fmtstream.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-fs-xinl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-help.c argp: do not call _IO_fwide() if _LIBC is not defined 2018-11-29 17:56:55 +00:00
argp-namefrob.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-parse.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-pv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-pvh.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-test.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp-xinl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
argp.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-argp1.c
bug-argp2.c
Makefile Add tests for argp_error and argp_failure with floating-point parameters 2018-11-06 11:19:54 -02:00
tst-argp1.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-argp2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-ldbl-argp.c Use TEST_COMPARE_STRING in recently added test 2018-11-08 22:42:01 -02:00
Versions