Thread (1 message) 1 message, 1 author, 2006-02-05

Re: ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux

From: Neil Brown <hidden>
Date: 2006-02-05 21:50:46

On Saturday February 4, bluca@comedia.it wrote:
On Sat, Feb 04, 2006 at 06:37:45PM +0100, Luca Berra wrote:
quoted
On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
quoted

I am pleased to announce the availability of
  mdadm version 2.3
and i am pleased to reply with the first patch for mdadm 2.3,
which will allow building on 64bit machines.
A more knowledgeable C programmer than me suggested using PRIu64
instead of casting to format correctly theese printfs, what do you
think about it?
Which way to work around a shortcoming in the C language?
I don't think either is clearly better, though I suspect using PRIu64
might make internationalisation of the strings somewhat harder.

Being largely a kernel programmer these days, and as the kernel tends
to cast the number rather than massage the format string, I would
prefer to do that (i.e. put in the cast like your patch did).

Thanks,
NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help