Re: Human readable sort

2009-05-27 Thread Jim Meyering
Pádraig Brady wrote: Latest version attached. ... * NEWS: Document the new option * doc/coreutils.texi (sort invocation): ditto * src/sort.c (main): handle the new --human-numeric-sort option (-h). (human_numcompare): A new function to compare SI and IEC suffixes before falling back to the

Re: [PATCH] chroot specify user/group feature

2009-05-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 5/26/2009 7:21 AM: Merged and pushed. Thanks again. Would it be worth starting to patch the testsuite to replace 'setuidgid -g list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in order to give this

Re: coreutils 7.4 build: previous declaration of '__u32' was here

2009-05-27 Thread Poor Yorick
From: Mike Frysinger vap...@gentoo.org Sent: 2009-05-26 21:17 On Tuesday 26 May 2009 17:05:29 Kamil Dudka wrote: On Tuesday 26 of May 2009 22:55:37 Poor Yorick wrote: Building coreutils to install in an alternate location which has its own libcap and glibc (self-compiled):

Re: [PATCH] New fallocate module

2009-05-27 Thread Pádraig Brady
Take 2 attached. Still outstanding from the gnulib portion is support for solaris. I may get time to set this up, but I've very little time lately, so I would like not to require this for merging. Also I didn't yet implement the optimization to coreutils that Paul mentioned, to cache whether the

Re: [PATCH] chroot specify user/group feature

2009-05-27 Thread Giuseppe Scrivano
Hi Eric, Eric Blake e...@byu.net writes: Would it be worth starting to patch the testsuite to replace 'setuidgid -g list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in order to give this feature more exposure and reduce our dependence on uninstalled apps? IMHO, since

two new chroot bugs

2009-05-27 Thread Jim Meyering
Eric Blake wrote: According to Jim Meyering on 5/26/2009 7:21 AM: Merged and pushed. Thanks again. Would it be worth starting to patch the testsuite to replace 'setuidgid -g list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in order to give this feature more exposure and

Re: two new chroot bugs

2009-05-27 Thread Jim Meyering
Jim Meyering wrote: ... Here are patches, for review. I'll add tests tomorrow. That latter log wasn't complete. Subject: [PATCH] chroot: don't set bogus user-ID or group-ID for --u=U or --u=:G * src/chroot.c (main): Initialize both uid and gid. To -1. This also allows one to set the

Re: [PATCH] chroot specify user/group feature

2009-05-27 Thread Jim Meyering
Giuseppe Scrivano wrote: Eric Blake e...@byu.net writes: Would it be worth starting to patch the testsuite to replace 'setuidgid -g list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in order to give this feature more exposure and reduce our dependence on uninstalled apps?

Re: [PATCH] sort: Add --threads option, which parallelizes internal sort.

2009-05-27 Thread Glen Lenker
On Thu, Mar 26, 2009 at 09:50:08PM +, Ralf Wildenhues wrote: Hi Paul, all, Paul Eggert writes: This patch is by Glen Lenker, Matt Pham, Benjamin Nuernberger, Sky Lin, TaeSung Roh, and Paul Eggert. It adds support for parallelism within an internal sort. On our simple tests on a

Re: [PATCH] New fallocate module

2009-05-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Pádraig Brady on 5/27/2009 10:20 AM: Take 2 attached. Still outstanding from the gnulib portion is support for solaris. I may get time to set this up, but I've very little time lately, so I would like not to require this for