utimens and non-standardized futimesat [was: coreutils-6.11-1 in release-2 area]

2008-05-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 5/22/2008 6:51 AM: | According to Jim Meyering on 5/22/2008 6:42 AM: | |> |> No need to refer the dir by name: | |> |> | |> |> futimens (dirfd. timespec); | |> | | |> | Btw., even if you don't consider the Posix 200x funct

Re: [PATCH 0/2] Add missing functions to argz

2008-05-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to David Lutterkort on 5/28/2008 5:06 PM: | These two patches add all the argz_* functions present in glibc-2.7 that | were not in gnulib yet. The functions are taken pretty much verbatim from | glibc. The only changes are addition of a few

Re: [PATCH 1/2] Make stpcpy LGPLv2+

2008-05-28 Thread Bruno Haible
David Lutterkort wrote: > Make the license on stpcpy explicitly LGPLv2+. Since the code comes from > glibc, this change should be ok. This makes stpcpy usable if gnulib-tool is > told to use license --lgpl=2 OK, I applied this patch. Bruno

Re: yet another git trick

2008-05-28 Thread Bruno Haible
Paolo Bonzini wrote: > Drop it in .git/hooks/prepare-commit-msg and make it executable! How do I abort a commit then? Without this hook, when I quit the editor without saving I got: fatal: no commit message? aborting commit. With the hook installed, it creates the commit. No way to abort! Br

Re: yet another git trick

2008-05-28 Thread Bruno Haible
Hallo Paolo, > Personally, I think this is a good alternative to making ChangeLog files > automatically from the VCS logs. > > Drop it in .git/hooks/prepare-commit-msg and make it executable! Interesting idea! When I try your script, after adding a ChangeLog entry, it shows me an editor buffer

[PATCH 1/2] Make stpcpy LGPLv2+

2008-05-28 Thread David Lutterkort
Make the license on stpcpy explicitly LGPLv2+. Since the code comes from glibc, this change should be ok. This makes stpcpy usable if gnulib-tool is told to use license --lgpl=2 Signed-off-by: David Lutterkort <[EMAIL PROTECTED]> --- modules/stpcpy |2 +- 1 files changed, 1 insertions(+), 1 d

[PATCH 2/2] Add missing argz_* functions from glibc

2008-05-28 Thread David Lutterkort
* argz.c (argz_add_sep, argz_create, argz_create_sep, argz_replace, argz_delete): import almost verbatim from glibc-2.7; only changes are additional asserts and renaming of __ functions to public interface * argz.m4: check for newly added functions * modules/argz: new dependencies on mempcpy, s

[PATCH 0/2] Add missing functions to argz

2008-05-28 Thread David Lutterkort
These two patches add all the argz_* functions present in glibc-2.7 that were not in gnulib yet. The functions are taken pretty much verbatim from glibc. The only changes are addition of a few asserts and using public interfaces where the glibc sources used __ functions. Since the argz module now

[PATCH 0/2] Add missing functions to argz

2008-05-28 Thread David Lutterkort
These two patches add all the argz_* functions present in glibc-2.7 that were not in gnulib yet. The functions are taken pretty much verbatim from glibc. The only changes are addition of a few asserts and using public interfaces where the glibc sources used __ functions. Since the argz module now

Re: arz_add_sep missing

2008-05-28 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Wed, May 28, 2008 at 09:52:30PM CEST: > > Ahem, wasn't that necessary for argz_add and argz_count already, > which were added to Libtool in 2008-02-26? OK like this? The test would have exposed the issue on, say, Solaris. The test will skip on systems where argz.o is n

Re: arz_add_sep missing

2008-05-28 Thread Ralf Wildenhues
[ Cc:ing bug-libtool as owner of the argz module ] Hi David, * David Lutterkort wrote on Wed, May 28, 2008 at 09:43:13PM CEST: > > I just noticed that the argz module does not contain argz_add_sep, even > though the docs indicate it does. I'd be more than happy to work up a > patch assuming the

arz_add_sep missing

2008-05-28 Thread David Lutterkort
Hi, I just noticed that the argz module does not contain argz_add_sep, even though the docs indicate it does. I'd be more than happy to work up a patch assuming the omission isn't intentional. David

Re: yet another git trick

2008-05-28 Thread Jim Meyering
Paolo Bonzini <[EMAIL PROTECTED]> wrote: > Newer versions of git have my patch for a prepare-commit-msg hook. > The hook modifies the commit message before it is shown in the editor. > This implementation of the hook does two things, which I found useful > for GNU projects: 1) build a commit messag

yet another git trick

2008-05-28 Thread Paolo Bonzini
Newer versions of git have my patch for a prepare-commit-msg hook. The hook modifies the commit message before it is shown in the editor. This implementation of the hook does two things, which I found useful for GNU projects: 1) build a commit message template based on modified ChangeLog file