Re: [PATCH 1/2] conifigure: add a crosscompile path for scanf_cv_alloc_modifier

Mike Frysinger
2012-03-30T19:49:37Z

[-- Attachment #1: Type: Text/Plain, Size: 781 bytes --]

On Wednesday 29 February 2012 16:31:28 Sebastian Andrzej Siewior wrote:
> My earlier assumption was that scanf_cv_alloc_modifier is unused. This
> is not true as pointed out by Karel since it used befoe checking for
> libmount. Argh. So instead saying no I add a test to check for glibc
> >= 2.7 which provides %m. As of uClibc v0.9.32-rc3 the situation looks
> the following:

the uClibc code you grepped for is printf("%m"), not scanf("%ms")

uClibc itself has a place holder for %as, but has never implemented it since
it conflicts with C99. and it hasn't gotten around to implementing the new %ms
which is specified by the latest POSIX spec.

be nice if this patch was in 2.21.1, but i guess that ship has sailed, and
there prob won't be a 2.21.2 ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]