[MPlayer-dev-eng] Re: [PATCH] Kill some _LARGEFILE_SOURCE #ifdefs

Tobias Diedrich ranma at tdiedrich.de
Thu Jun 30 18:58:04 CEST 2005


Rich Felker wrote:

> But it doesn't change the fact that it would work on little endian
> even if the double l were ignored. Try this:
> 
> printf("%lld %lld\n", foo, foo);
> 
> Do you get 20 20 or 20 0?

Damn.  I get the latter. :-/
Maybe a format string parser in mp_msg would be in order?
That would also allow for a custom "off_t" format. :-)
Might also be good for translators, if it would allow to shuffle
the parameters around.

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de




More information about the MPlayer-dev-eng mailing list