Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 15:14:26 +0100
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Kurt Jaeger <pi@FreeBSD.org>
Subject:   Re: svn commit: r273734 - head/bin/dd
Message-ID:  <20141028141426.GA42752@f10.opsec.eu>
In-Reply-To: <86r3xseepw.fsf@nine.des.no>
References:  <201410271138.s9RBcHrA002447@svn.freebsd.org> <20141027153957.GZ1877@kib.kiev.ua> <20141027155427.GM1492@f10.opsec.eu> <86vbn4egjt.fsf@nine.des.no> <86r3xseepw.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> Dag-Erling Smørgrav <des@des.no> writes:
> > Kurt Jaeger <pi@FreeBSD.org> writes:
> > > I do not have a working arm setup right now.
> > This is a bug on all platforms, and both clang and (recent) gcc should
> > complain about it.  That printf() call will print garbage.
> 
> Correction: it will print garbage on 32-bit platforms, where sizeof(int)
> != sizeof(intmax_t), but clang and gcc should still emit a warning.

Yes. I'm old enough to remember the mess in C when going from 16bit
to 32bit that I should have paid attention to the test case on 32bit, but
my stupidity won 8-(

Right now the submitter tests on 32bit and if time permits, I'll
experiment on ARM as well.

Sorry again for the mess.

-- 
pi@FreeBSD.org         +49 171 3101372                6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141028141426.GA42752>