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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday February 4, bluca@xxxxxxxxxx wrote:
> On Sat, Feb 04, 2006 at 06:37:45PM +0100, Luca Berra wrote:
> >On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
> >>
> >>
> >>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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux