Re: license alteration for chown/lchown

2010-07-29 Thread David Lutterkort
On Thu, 2010-07-29 at 15:46 -0600, Eric Blake wrote: > On 07/29/2010 03:42 PM, David Lutterkort wrote: > >> > >> For your request, the following contributors since 2007-10-07 > >> would have to agree: > > > > Don't forget Jim, who is cited as the

Re: license alteration for chown/lchown

2010-07-29 Thread David Lutterkort
On Thu, 2010-07-29 at 22:35 +0200, Bruno Haible wrote: > Adam Stokes wrote: > > Is it possible to change these modules licenses to LGPLv2+? > > Have you considered releasing your library under LGPLv3+? > > For your request, the following contributors since 2007-10-07 > would have to agree: > >

License problem with regex and nl_langinfo

2010-01-19 Thread David Lutterkort
00:00:00 2001 From: David Lutterkort Date: Tue, 19 Jan 2010 12:49:54 -0800 Subject: [PATCH] Change license for langinfo and nl_langinfo to LGPLv2+ The regex module, which is LGPLv2+, depends on the modules. --- modules/langinfo|2 +- modules/nl_langinfo |2 +- 2 files changed

License stpncpy as LGPLv2+ ?

2009-10-21 Thread David Lutterkort
Hi, would it be possible to relicense stpncpy (currently LGPL) as LGPLv2+ ? I want to use it in Augeas, which is LGPLv2+. David

Re: License pedantry

2009-09-18 Thread David Lutterkort
On Thu, 2009-09-17 at 22:08 +0200, Bruno Haible wrote: > Ian Beckwith wrote: > > * Replaces incorrect FSF addresses with pointers to www.gnu.org/licenses. > > (picked up by 'licensecheck', in the debian devscripts package). > > David, is the following change OK with you? > > Would you also acce

Two more happy users of gnulib

2009-09-17 Thread David Lutterkort
Just saw users.txt and thought it'd be nice to add augeas and netcf to the list. David >From 1d174e8d36fc605e34ca84ac402f38e59d35e146 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Thu, 17 Sep 2009 11:17:59 -0700 Subject: [PATCH] * users.txt: add augeas and netcf --- users.tx

Re: safe-alloc.h uses __GNUC_PREREQ without defining it

2009-03-02 Thread David Lutterkort
On Sat, 2009-02-28 at 14:56 +0100, Tom G. Christensen wrote: > Building the latest snapshot on sparc-sun-solaris2.6 fails: > In file included from safe-alloc.c:27: > safe-alloc.h:30:21: error: missing binary operator before token "(" > make[4]: *** [safe-alloc.o] Error 1 > > It seems __GNUC_PREREQ

[PATCH] * lib/safe-alloc.h (__GNUC_PREREQ): define if not already defined

2009-03-02 Thread David Lutterkort
--- lib/safe-alloc.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lib/safe-alloc.h b/lib/safe-alloc.h index 3fa3f2e..f07ee91 100644 --- a/lib/safe-alloc.h +++ b/lib/safe-alloc.h @@ -26,6 +26,15 @@ # include +#ifndef __GNUC_PREREQ +# if defined __GNUC__ &&

Re: [PATCH] Add 'safe-alloc' module

2009-02-21 Thread David Lutterkort
d your module, in two commits: > > > 2009-02-21 David Lutterkort > > Tests for module 'safe-alloc'. > * tests/test-safe-alloc.c: New file. > * modules/safe-alloc-tests: New file. > > New module 'safe-alloc'. > * lib/

Re: [PATCH] Add 'safe-alloc' module

2009-02-19 Thread David Lutterkort
Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: David Lutterkort + */ + +#include + +#include + +#include + +#define ASSERT(expr) \ + do \ +

[PATCH] Add 'safe-alloc' module

2009-02-19 Thread David Lutterkort
if not impossible. David [1] http://libvirt.org/ >From 2b7d49a572d41ecf8da4ceb5eac35c0244315eb8 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Thu, 12 Feb 2009 09:41:11 -0800 Subject: [PATCH] Macros to make the use of malloc/calloc/realloc safer These macros address a number of shortcomings in th

Re: update regex dependencies

2008-12-24 Thread David Lutterkort
On Mon, 2008-12-22 at 10:59 +0100, Paolo Bonzini wrote: > I'm committing this: > > 2008-12-22 Paolo Bonzini > > * modules/regex: Request emulations for the mb*/wc* functions we > need. > * m4/regex.m4: Don't look for those functions here. > diff --git a/modules/regex b/module

selinux-h: two enhancements

2008-10-22 Thread David Lutterkort
These two patches change the new selinux-h module by (1) setting LIB_SELINUX so that it can easily be linked against (based very closely on what coreutils does) and (2) add _UNUSED_PARAMETER_ annotation to all the functions in the stub implementations to avoid spurious compiler wanrings David

[PATCH] selinux-h: mark parameters of stub functions as intentionally unused

2008-10-22 Thread David Lutterkort
From: Jim Meyering <[EMAIL PROTECTED]> * lib/se-selinux.in.h: Mark parameters as _UNUSED_PARAMETER_. * lib/se-context.in.h: Likewise. --- lib/se-context.in.h | 18 +++--- lib/se-selinux.in.h | 50 ++ 2 files changed, 41 insertions(+)

[PATCH] selinux-h: search for LIB_SELINUX and mark it as a link requirement

2008-10-22 Thread David Lutterkort
--- m4/selinux-selinux-h.m4 |8 modules/selinux-h |3 +++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/m4/selinux-selinux-h.m4 b/m4/selinux-selinux-h.m4 index 822ffa2..464b782 100644 --- a/m4/selinux-selinux-h.m4 +++ b/m4/selinux-selinux-h.m4 @@ -14,4 +14,

Re: canonicalize-lgpl: relicense to lgplv2+ ?

2008-07-21 Thread David Lutterkort
On Sun, 2008-07-20 at 13:45 +0200, Bruno Haible wrote: > Hi Jim, > > > What do you think about relicensing canonicalize-lgpl to lgplv2+? > > Among its dependents, a quick glance suggests only readlink would > > need the same adjustment. > > No problem with doing that. We promised this to everyone

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

2008-06-03 Thread David Lutterkort
On Wed, 2008-06-04 at 00:57 +0200, Jim Meyering wrote: > David Lutterkort <[EMAIL PROTECTED]> wrote: > > > > I've given your patch a quick spin, and ran into the following issues: > > > > * __attribute_pure__ in argz.h is not defined > > *

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

2008-06-03 Thread David Lutterkort
On Tue, 2008-06-03 at 19:12 +0200, Jim Meyering wrote: > I've included a still-preliminary patch below, in case you'd like to test it. > [I say preliminary because it effectively removes the C++-accommodating > code that's in the old version and because it's totally untested. > Adding C++ syntax is

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

2008-06-02 Thread David Lutterkort
On Mon, 2008-06-02 at 14:00 +0200, Jim Meyering wrote: > If I hear no objection soon, I will sync gnulib's argz.c > directly from glibc, using something like the above. > Then, gnulib and libtool can evolve separately, if needed. > > However, I'd really like to hear that at least one owner of > an

[PATCH] Fix underflow in argz_stringify

2008-05-29 Thread David Lutterkort
cce8e8470 Mon Sep 17 00:00:00 2001 From: David Lutterkort <[EMAIL PROTECTED]> Date: Thu, 29 May 2008 14:35:18 -0700 Subject: Fix underflow and subsequent memory corruption * lib/argz.c(argz_stringify): sync with glibc-2.7; previous version would underflow the size_t len when it was 0

Re: [PATCH 2/2, updated] Add missing argz_* functions from glibc

2008-05-29 Thread David Lutterkort
>From 7bce6f3f1ac91a482f6c72aa4b84239e5cadfec4 Mon Sep 17 00:00:00 2001 From: David Lutterkort <[EMAIL PROTECTED]> Date: Wed, 28 May 2008 15:28:57 -0700 Subject: [PATCH 2/3] Add missing argz_* functions from glibc * argz.c (argz_add_sep, argz_create, argz_create_sep, argz_replace, ar

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

2008-05-29 Thread David Lutterkort
On Thu, 2008-05-29 at 19:43 +0200, Ralf Wildenhues wrote: > Hi David, > > * David Lutterkort wrote on Thu, May 29, 2008 at 01:06:50AM CEST: > > > > + for (p = *argz, ap = argv; *ap; ++ap, ++p) > > + p = __stpcpy (p, *ap); > > Any reason this wasn

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

2008-05-29 Thread David Lutterkort
On Thu, 2008-05-29 at 14:17 +0200, Jim Meyering wrote: > Only after writing the above did I go look at the unmodified > code in gnulib's argz.c, and there, I saw all of the similar, > existing uses of assert. Now I see why you've done this. Hi Jim, Yes, that's the only reason I added the assert

[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

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

2008-05-28 Thread David Lutterkort
, stpcpy, and strndup Signed-off-by: David Lutterkort <[EMAIL PROTECTED]> --- lib/argz.c| 221 + lib/argz.in.h |7 ++ m4/argz.m4|3 +- modules/argz |3 + 4 files changed, 233 insertions(+), 1 deletions(-) diff --git

[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

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