Re: coreutils 6.0.194 on MacOS X 10.5

2008-04-18 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi Jim, > >> Here's what I hope will be the final snapshot before 6.11: > > There's still a lot to fix for MacOS X 10.5.2 (the current release of > MacOS X). Find attached the log files from > > ./configure --prefix=/Users/bruno/data/local-macos CPPFLAGS=

Re: dd skip bug?

2008-04-18 Thread Pádraig Brady
Jim Meyering wrote: > Pádraig Brady <[EMAIL PROTECTED]> wrote: > >> Jim Meyering wrote: >>> Pádraig Brady <[EMAIL PROTECTED]> wrote: dd handles skip weirdly disk=/dev/sda8 dd if=$disk bs=8M count=1 skip=1000 of=/dev/null #ok dd if=$disk bs=8M count=1 skip=1000K of=/dev/nu

Re: dd skip bug?

2008-04-18 Thread Pádraig Brady
Pádraig Brady wrote: > There are actually 3 cases to consider with large skip values. > Currently dd does the following for various values of skip: > > if skip > file_size && skip < max_file_size > lseek returns new offset, and read() returns 0 > > if skip > file_size && skip > max

md5sum --check: ignore invalid lines

2008-04-18 Thread Jim Meyering
md5sum --check would fail to recognize as invalid a line with one or more NUL bytes in the hex digit digest string. As such, it would unnecessarily open the named file and issue a diagnostic (this is the bug) about the mismatch for an improperly formatted input line. For example: $ perl -e '

dircolors: .svgz: archive/compression or image ?

2008-04-18 Thread Mike Frysinger
wouldnt .svgz make more sense under image formats in dircolors.hin ? it tends to be directly "consumed" rather than needing to be decompressed first. -mike signature.asc Description: This is a digitally signed message part. ___ Bug-coreutils mailing l

[PATCH] add .flv to dircolors

2008-04-18 Thread Mike Frysinger
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> --- src/dircolors.hin |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/dircolors.hin b/src/dircolors.hin index e60e11c..d12181d 100644 --- a/src/dircolors.hin +++ b/src/dircolors.hin @@ -162,6 +162,7 @@ EXEC 01;32 .flc

Re: [PATCH] add .flv to dircolors

2008-04-18 Thread Jim Meyering
Mike Frysinger <[EMAIL PROTECTED]> wrote: > diff --git a/src/dircolors.hin b/src/dircolors.hin > index e60e11c..d12181d 100644 > --- a/src/dircolors.hin > +++ b/src/dircolors.hin > @@ -162,6 +162,7 @@ EXEC 01;32 > .flc 01;35 > .avi 01;35 > .fli 01;35 > +.flv 01;35 > .gl 01;35 > .dl 01;35 > .x