bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2011-01-25 Thread Jim Meyering
jeff.liu wrote: > AFAICS, the tests passed on all filesystems except ext4, Really? The vast majority of my testing is with ext4 on Fedora 14, and I have seen no failure -- otherwise I would have mentioned that as a known problem. What type of system/kernel are you using? Was your ext4 partition c

bug#7877: sleep 5 -4

2011-01-25 Thread Jim Meyering
jida...@jidanni.org wrote: > $ sleep 5 -4 > sleep: invalid option -- '4' > $ sleep -- 5 -4 > sleep: invalid time interval `-4' > > No fair prejudicing negative numbers. > > At least document it. > 'However, GNU `sleep' accepts arbitrary floating point numbers (using a > period before any fractional

bug#7877: sleep 5 -4

2011-01-25 Thread Paul Eggert
OK, so it's late, but I can't resist: First, 'sleep' does accept one number that's negative in an IEEE-754 sense, namely, "sleep -- -0.0". Second, due to rounding error, 'sleep' does accept some numbers that are negative in a mathematical sense, e.g., "sleep -- -1e1000" works. Third, there's not

bug#7877: sleep 5 -4

2011-01-25 Thread jidanni
> "PE" == Paul Eggert writes: PE> (Have I written enough to tempt ... to extend 'sleep' PE> to allow negative numbers? :-) Right you are young man. We here at NerdLabs already use $ sleep -- -100 to give us a few moments to go back and correct errors. But due to National Security, that's all

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2011-01-25 Thread jeff.liu
Jim Meyering wrote: > jeff.liu wrote: >> AFAICS, the tests passed on all filesystems except ext4, > > Really? > The vast majority of my testing is with ext4 on Fedora 14, and I have seen > no failure -- otherwise I would have mentioned that as a known problem. I have mentioned this issue at: http

bug#7877: sleep 5 -4

2011-01-25 Thread Jim Meyering
Paul Eggert wrote: > OK, so it's late, but I can't resist: You obviously need to, er... sleep. > First, 'sleep' does accept one number that's negative > in an IEEE-754 sense, namely, "sleep -- -0.0". > > Second, due to rounding error, 'sleep' does accept some > numbers that are negative in a math

bug#7915: Possible off-by-1 in wc

2011-01-25 Thread Sune Mølgaard
sune@jekaterina:~$ echo Å|wc -m 2 sune@jekaterina:~$ echo Å|wc -c 3 sune@jekaterina:~$ Expected: 1 and 2 respectively. wc is the one in Ubuntu Linux 10.10 Best regards, Sune Mølgaard -- It is wonderful how much time good people spend fighting the devil. If they would only expend the same amo

bug#7915: Possible off-by-1 in wc

2011-01-25 Thread Eric Blake
[Let's keep the list in the loop] On 01/25/2011 07:04 PM, Sune Mølgaard wrote: >> Thanks for the report. However, this is not a bug - echo is outputting >> a newline (which is a second character, and third byte given the >> encoding of your chosen character). >> >> To see the difference, try: >>

bug#7915: Possible off-by-1 in wc

2011-01-25 Thread Eric Blake
On 01/25/2011 06:18 PM, Sune Mølgaard wrote: > sune@jekaterina:~$ echo Å|wc -m > 2 > sune@jekaterina:~$ echo Å|wc -c > 3 > sune@jekaterina:~$ > > Expected: 1 and 2 respectively. Thanks for the report. However, this is not a bug - echo is outputting a newline (which is a second character, and thi

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2011-01-25 Thread jeff.liu
Jim Meyering wrote: > jeff.liu wrote: >> Jim Meyering wrote: >>> jeff.liu wrote: AFAICS, the tests passed on all filesystems except ext4, >>> Really? >>> The vast majority of my testing is with ext4 on Fedora 14, and I have seen >>> no failure -- otherwise I would have mentioned that as a know