The new flag is '0x0f' but it should be '0x40' since that's a bit field... I did some doodling with this as well in my tree, and came up with something similar. I had an ifdef that forced the new mode, but I was never happy with the results.
Warner On Mar 24, 2011, at 7:55 PM, Alexander Best wrote: > here's a rough draft. it introduces a new flag called HN_IEC_PREFIXES so > nothing should get broken and each utility can decide for itself whether to > use > the SI binary, SI decimal or the IEC certified prefixes. > > another possibility would be to #ifdef the extra code. this would offer the > possibility to turn the new code on or off without having to adjust any > utilities. of course this behaviour should be disabled by default in order to > maintain compatibility. > > cheers. > alex > > -- > a13x > <IEC_80000_13.diff>_______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org" _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"