bug#5959: testsuite failure on misc/selinux

2010-04-30 Thread Jim Meyering
tags 5959 + moreinfo thanks Eric Blake wrote: On 04/16/2010 01:05 AM, 王永凯 wrote: can you help me? Thanks for the report. ... Now, with that out of the way, here's a relevant snippets from your log: FAIL: misc/selinux (exit: 1) + chcon --version chcon (GNU

bug#6056: base32 output for md5sum sha1sum etc.

2010-04-30 Thread Jim Meyering
tags 6056 + moreinfo thanks Pádraig Brady wrote: On 27/04/10 22:42, Alan Curry wrote: In the dark ages before the bug tracker (i.e. November), a message was sent: http://lists.gnu.org/archive/html/bug-coreutils/2009-11/msg00206.html providing an RFC4648 base32 output option for the

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-30 Thread Paul Eggert
Pádraig Brady p...@draigbrady.com writes: +#if HAVE_C99_STRTOLD /* provided by c-strtold module. */ +# define STRTOD strtold +#else +# define STRTOD strtod +#endif + char *ea; char *eb; - double a = strtod (sa, ea); - double b = strtod (sb, eb); + long double a = STRTOD (sa,

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-30 Thread Nelson H. F. Beebe
Paul Eggert writes about the proposed use of long double instead of double in sort's -g option: ... This could cause performance problems on machines that have slow long-double operations (implemented via traps, say) and that lack strtold. ... Because using double instead of long double

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-30 Thread Paul Eggert
Nelson H. F. Beebe be...@math.utah.edu writes: Because using double instead of long double cripples sorting of numerical data by drastically reducing the number range, I would much rather pay a premium in run time to get the right answer, rather than a useless wrong answer as GNU sort

bug#6056: base32 output for md5sum sha1sum etc.

2010-04-30 Thread Alan Curry
Jim Meyering writes: tags 6056 + moreinfo I've given all the moreinfo I could. I thought It's a standards-track RFC plus seen in the wild would have been enough. And the applications where it's relevant (Gnutella, Bitzi) are pretty well-known. md5sum ... | perl -anle 'use

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-30 Thread Nelson H. F. Beebe
If all we have is strtod, there's no point doing a long-double compare. True, UNLESS sscanf(%lg, x) works: I've had to use that alternative in the past. ... Even better, just compare the numbers as text, without converting them to internal format. This is already done for -n, and would be

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-30 Thread Pádraig Brady
On 30/04/10 19:16, Paul Eggert wrote: Pádraig Brady p...@draigbrady.com writes: +#if HAVE_C99_STRTOLD /* provided by c-strtold module. */ +# define STRTOD strtold +#else +# define STRTOD strtod +#endif + char *ea; char *eb; - double a = strtod (sa, ea); - double b = strtod