[PATCH] Fix solaris acl/nfs breakage

2009-11-25 Thread Ben Walton
Hello all, I'm packaging coreutils for Solaris as part of the OpenCSW project. When running the test suite with an NFS mounted build directory, some tests were failing. It seems that while ACL's are supported over NFS in Solaris, this is only true with some combinations of server and client. The

[PATCH] Fix solaris acl support breakage

2009-11-25 Thread Ben Walton
Solaris has support for ACL's on NFS, but only in certain combinations of client and server. When ACL operations are attempted in unsupported situations, EOPNOTSUPP can be returned instead of ENOSYS. This patch allows utilities that work with ACL's to handle the difference properly. Signed-off-by

Re: permissions of files in dist tarball

2009-11-25 Thread Jim Meyering
Ralf Wildenhues wrote: > Hello Alan, Jim, > * Jim Meyering wrote on Sun, Nov 22, 2009 at 04:32:57PM CET: >> Alan Curry wrote: >> > So was the drwxrwxrwx in the tarball put there to teach a lesson to those >> > who trust a tarball to have sane permissions? Or is it a bug? >> >> On one hand, you can

quoted-printable [--decode]: it's time

2009-11-25 Thread jidanni
OK, now that there is a base64(1) command, I could have sworn I also saw a quoted-printable command too [or else I wouldn't have deleted mine so fast :-(]. OK, I restored mine $ cat bin/qp-decode #!/bin/sh -e #jidanni *** replacement for mime-codecs package *** case $0 in *qp-encode)perl -

Re: quoted-printable [--decode]: it's time

2009-11-25 Thread Jim Meyering
jida...@jidanni.org wrote: > OK, now that there is a base64(1) command, I could have sworn I also saw > a quoted-printable command too [or else I wouldn't have deleted mine so > fast :-(]. > OK, I restored mine > $ cat bin/qp-decode > #!/bin/sh -e > #jidanni *** replacement for mime-codecs package

Re: quoted-printable [--decode]: it's time

2009-11-25 Thread jidanni
> "JM" == Jim Meyering writes: JM> GNU recode does that: JM> $ printf '\0\1'|recode ../QP Ah ha, then checkmate, $ recode -l|grep -i base64 /Base64 64 b64 I.e., you must either 1. Make a separate quoted-printable(1) command too, just to be fair. 2. Leave a note on the base64(1) man page

[PATCH] split: --chunks option

2009-11-25 Thread Chen Guo
Hi all, This is mostly a step towards multithreaded sort the unix way, but as Padraig mentioned, has its other uses. Parsing and I/O are not my strong suits, so I have a couple of questions: Are there more appropriate functions than open and pread to use here? I usually see wrapper func