[MPlayer-dev-eng] Re: [PATCH] Kill some _LARGEFILE_SOURCE #ifdefs
Rich Felker
dalias at aerifal.cx
Thu Jun 30 20:23:33 CEST 2005
On Thu, Jun 30, 2005 at 08:08:54PM +0300, Oded Shimon wrote:
> On Thu, Jun 30, 2005 at 06:58:04PM +0200, Tobias Diedrich wrote:
> > 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.
>
> You already can do this, with some %1$s nonsense, iirc. or is this a glibc
> printf extension and non-portable?
nonportable gnu crap..
rich
More information about the MPlayer-dev-eng
mailing list