Re: parse-datetime license

2015-11-24 Thread Giuseppe Scrivano
p 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 24 Nov 2015 10:00:31 +0100 Subject: [PATCH] parse-datetime: relax license to LGPLv2+, for OSTree * modules/parse-datetime (License): Change from GPL to LGPLv2+. --- modules/parse-datetime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: parse-datetime license

2015-11-08 Thread Giuseppe Scrivano
Paul Eggert writes: > I think I'd rather leave that one GPL, as it's pretty complicated and > doesn't redo anything in any library. It was originally intended to > share code among GPLed apps. unfortunately this will will prevent OSTree[1] which is distributed under GPLv2+ to use parse-datetime

parse-datetime license

2015-11-06 Thread Giuseppe Scrivano
Hi Paul, I would like to use the parse-datetime module from a project distributed under GPLv2. Could it be possible to relax the license so I can use it? Thanks, Giuseppe

[gnulib PATCH] hash: remove deprecated hash_insert0 function

2015-04-03 Thread Giuseppe Scrivano
/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-04-03 Giuseppe Scrivano + + hash: remove deprecated hash_insert0 function + * lib/hash.h (hash_insert0): Remove deprecated function. + * lib/hash.c (hash_insert0): Likewise. + 2015-04-02 Paul Eggert stddef: port to pre

Re: license request: nproc

2013-05-31 Thread Giuseppe Scrivano
Jim Meyering writes: > Paul Eggert wrote: >> It's fine with me, too. > > Fine with me, too. fine with me. -- Giuseppe

wget fails to build under HP-UX 11.00

2011-08-19 Thread Giuseppe Scrivano
Hello, The following bug report was sent to the wget mailing list, I am not sure why it happens, it seems related to gnulib, has anyone an idea about it? I don't have access to any HP-UX box to test it by myself. Thanks, Giuseppe > With HP-UX 11.00 and HP C-ANSI-C it doesn't even *compile* anym

Re: [PATCH] bzr-version-gen: New module.

2011-08-06 Thread Giuseppe Scrivano
-n "$v_from_bzr"; then +if test -n "`bzr diff | tr -d '\n'`"; then +v="$v-dirty" +fi +fi + + # Omit the trailing newline, so that m4_esyscmd can use the result directly. echo "$v" | tr -d "$nl" and here the git formatted patc

Re: [PATCH] bzr-version-gen: New module.

2011-08-06 Thread Giuseppe Scrivano
Hello Bruno, Bruno Haible writes: > The git-version-gen script has a lot more comments and better error checking. yes, I know bzr-version-gen is not more than a quick hack. I hoped than bringing it upstream in gnulib would attract more users with the same need who hopefully could also improve

[PATCH] bzr-version-gen: New module.

2011-08-06 Thread Giuseppe Scrivano
Hello, I would like to contribute this new module. I am using it for wget, it works like git-version-gen, except it supports Bazaar. Cheers, Giuseppe >From ec2c96e3253278b69c8e802a7c794c89ba06a4f6 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 6 Aug 2011 12:56:09 +0200 Subj

Re: URL module

2011-05-01 Thread Giuseppe Scrivano
Hi Jose, it seems like a good idea. AFAICS, url.h has many functions, which probably are not useful to expose in a gnulib module. What functions do you exactly need? Cheers, Giuseppe jema...@gnu.org (Jose E. Marchesi) writes: > Hi Giuseppe. > > What do you think about making an 'url' gnulib

[PATCH] doc: update users.txt.

2011-04-19 Thread Giuseppe Scrivano
Another gnulib "victim". Cheers, Giuseppe >From a1b209180208e427f0e167e138963f2ff97ba73a Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 20 Apr 2011 00:49:54 +0200 Subject: [PATCH] doc: update users.txt. * users.txt: Add barcode. --- ChangeLog |5 + users.tx

Re: some problems with uClibc

2011-04-14 Thread Giuseppe Scrivano
Hi Bruno, Bruno Haible writes: >> 1) With an uClibc compiled without wchar support I had to include >> in the "wchar.h" file. uClibc defines __GLIBC__ as well, so >> the previous guarded inclusion doesn't work. I had to add: >> >> #ifdef __UCLIBC__ >> # include >> #endif > > What was the pr

some problems with uClibc

2011-04-14 Thread Giuseppe Scrivano
Hello, During my attempt to port wget to uClibc-linux I have experienced a couple of problems with gnulib. 1) With an uClibc compiled without wchar support I had to include in the "wchar.h" file. uClibc defines __GLIBC__ as well, so the previous guarded inclusion doesn't work. I had to add: #

Re: [PATCH] Do not limit git-version-gen to work only under the repository root.

2010-10-13 Thread Giuseppe Scrivano
Hello Jim, Jim Meyering writes: > Thanks again for the quick corrections. > Here's a better version. I'll wait for review this time ;-) I have tried the new version and it seems to work well. I am going to remove the workaround I had to use and keep my copy sync'ed with the gnulib version.

Re: [PATCH] Do not limit git-version-gen to work only under the repository root.

2010-10-13 Thread Giuseppe Scrivano
Hello, Jim Meyering writes: > Not sure about more "elegant", but here's a lower cost method: Thanks for the patch but I think the problem you have reported here: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/21845 persists. Here an example, where /tmp/foo is a git repository. /tmp/

[PATCH] fts: allow compilation with C++

2010-08-21 Thread Giuseppe Scrivano
b/verify.h:147: error: template with C linkage Cheers, Giuseppe >From 7cf0da716e9283b2a77d714e73df735702edbef2 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 22 Aug 2010 02:18:31 +0200 Subject: [PATCH] fts: allow compilation with C++ * lib/fts_.h: Specify extern "

Re: [PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-18 Thread Giuseppe Scrivano
PING^2 are there more problems with this patch? Thanks, Giuseppe > From da6e41d8ca204903cc088444b882d904db5e649e Mon Sep 17 00:00:00 2001 > From: Giuseppe Scrivano > Date: Tue, 3 Aug 2010 15:40:19 +0200 > Subject: [PATCH] read-file: Avoid memory reallocations with r

Re: [PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-10 Thread Giuseppe Scrivano
Ping. I have rebased the patch. Cheers, Giuseppe >From da6e41d8ca204903cc088444b882d904db5e649e Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 3 Aug 2010 15:40:19 +0200 Subject: [PATCH] read-file: Avoid memory reallocations with regular files. * modules/read-file (Depends

Re: [PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-04 Thread Giuseppe Scrivano
n files that don't fit into memory. Cheers, Giuseppe >From 985a52e1b654fa904e964977b24306fb97c586e7 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 3 Aug 2010 15:40:19 +0200 Subject: [PATCH] read-file: Avoid memory reallocations with regular files. * modules/read-file (Depe

Re: [PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-03 Thread Giuseppe Scrivano
rom c0f45017bded0d958ec430a54b1fb1b29098f8ec Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 3 Aug 2010 15:40:19 +0200 Subject: [PATCH] read-file: Avoid memory reallocations with regular files. * modules/read-file (Depends-on): Add ftello and malloc-posix. * lib/read-file.c: Include , , , . (fread_file): With regular fi

Re: [PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-03 Thread Giuseppe Scrivano
types where st_size is applicable). thanks for the review, I have adjusted the patch accordingly. Cheers, Giuseppe >From e1276fa005fee48e036132ebbd9b69bdef297249 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 3 Aug 2010 15:40:19 +0200 Subject: [PATCH] read-file: Avoid memory

[PATCH] read-file: Avoid memory reallocations with seekable files.

2010-08-03 Thread Giuseppe Scrivano
Hi, while using the read-file module, I found it can be optimized on seekable files using the the file length as the initial buffer size; it avoids some unnecessary reallocations. Cheers, Giuseppe >From 41bc1ff07e437f524cf6cf235b9017aca1ed8a6a Mon Sep 17 00:00:00 2001 From: Giuseppe Scriv

[PATCH] ipv6: fix detection under mingw

2010-06-15 Thread Giuseppe Scrivano
Hello, this small patch fixes the detection of IPv6 under mingw. The header is already used by . Cheers, Giuseppe >From f07f37a7ec475a1eab35a329ee528c0d24c70ae3 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 15 Jun 2010 16:45:15 +0200 Subject: [PATCH] ipv6: fix detection un

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-06-08 Thread Giuseppe Scrivano
Hello, I am forwarding an error reported on the inetutils mailing list. The problem is that readline 6.x exports `xmalloc' and `xrealloc', and it causes a linker error when used together with gnulib. Probably readline shouldn't export these symbols, but I think it should be possible somehow to w

[PATCH] bootstrap: fix an error when gnulib is not used as a git submodule.

2010-05-17 Thread Giuseppe Scrivano
another small patch for bootstrap. The redirect is needed because "git COMMAND -h" sends output to stderr. Cheers, Giuseppe >From d868757ec0cb028e9b81a89a32d5bebecafe10f2 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 17 May 2010 15:16:57 +0200 Subject: [PATCH] boot

Re: [PATCH] Do not limit git-version-gen to work only under the repository root.

2010-05-10 Thread Giuseppe Scrivano
oject at hand. I wasn't aware of this git behaviour. I couldn't find anything better than the check: test -n "$(git log -z -n1 .)" I am not sure if there is a more "elegant" way to do it. Cheers, Giuseppe >From 5f9409e6b500a74a7f1ad9b46bda5923d0a8b633 Mon

[PATCH] Do not limit git-version-gen to work only under the repository root.

2010-05-10 Thread Giuseppe Scrivano
Hello, I would like to use git-version-gen from a directory that is not the repository root, so "test -d .git" is not the proper check. What about this patch? Cheers, Giuseppe >From d059eef04a41ddc8edf62b53ed310359ed1f3a75 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date

[PATCH] bootstrap: don't ignore download_po_files failure.

2010-05-03 Thread Giuseppe Scrivano
Hello, I have noticed this error today while I was on a network with a silly firewall that blocked rsync. I think `bootstrap' should fail in this case. Cheers, Giuseppe >From 59fbac2381583a3946adb7e3f2299f8143159b2d Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 3 May

[PATCH] vc-list-files: Add support for subversion

2010-04-23 Thread Giuseppe Scrivano
A small patch. Cheers, Giuseppe >From 3ac0d82429aa45c9360109a51af26ed3e338430f Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 24 Apr 2010 00:46:29 +0200 Subject: [PATCH] vc-list-files: Add support for subversion * build-aux/vc-list-files: Use "svn list" to generat

[PATCH] doc: update users.txt

2010-04-06 Thread Giuseppe Scrivano
I have attached a small patch. Cheers, Giuseppe >From 28e0f0e5fdbddbb4373f7fa3f8eea7abf042db56 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 6 Apr 2010 21:20:52 +0200 Subject: [PATCH] doc: update users.txt * users.txt: Add gcal. --- ChangeLog |5 + users.txt |1 +

empty gnulib git repository

2010-02-27 Thread Giuseppe Scrivano
Hello, what's happened to the git repository? This is what I get when I try to clone it: $ git clone git://git.sv.gnu.org/gnulib.git Initialized empty Git repository in /tmp/gnulib/.git/ warning: You appear to have cloned an empty repository. and on the http://git.savannah.gnu.org/cgit/gnulib.g

Re: I: coreutils tests/misc/nproc-avail fails on GNU/Linux without /proc and /sys mounted

2010-01-09 Thread Giuseppe Scrivano
when --all fails for any reason, I think we should try with the number of available processing units, at least it is a more accurate value than return 1 (and document this behaviour). Bruno, Jim, what do you think? Cheers, Giuseppe "Dmitry V. Levin" writes: > Hi, > > The recently introduced

Re: maint.mk: heads-up: ftpmirror urls are not quick to be updated

2009-12-11 Thread Giuseppe Scrivano
Hi Karl, k...@freefriends.org (Karl Berry) writes: > I uploaded coreutils several hours ago, and the > http://ftpmirror.gnu.org... > URL that went into my announcement template still is not yet valid. > > A few hours is not enough. Most mirrors update once a day. This is why usually I

Re: [PATCH] Add missing dependency to gnulib

2009-12-03 Thread Giuseppe Scrivano
Hi Ralf, thanks for your advise. "-L../lib -lgnu" is already used in other places. I am going to fix them too. Cheers, Giuseppe Ralf Wildenhues writes: > Hello Giuseppe, > > * Giuseppe Scrivano wrote on Thu, Dec 03, 2009 at 07:30:54PM CET: >> something against

[PATCH] Add missing dependency to gnulib

2009-12-03 Thread Giuseppe Scrivano
something against this trivial patch? It fixes "make check". Giuseppe >From 48baa84f12699ff6b3ee50e2b2211cce503f08ca Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 3 Dec 2009 19:27:30 +0100 Subject: [PATCH] Add missing dependency to gnulib --- ChangeLog

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-11-05 Thread Giuseppe Scrivano
Hello, Erik Auerswald writes: > Why have an option for the default operation at all? If --available is > the same as specifying no option and the only other mode of operation is > --all, only the --all option should be recognised. There is no need for > --available. it is not very common case b

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-11-05 Thread Giuseppe Scrivano
ns, so OK > leave them as separate options. > > I'll hope to commit this soon. I amended this change and the bug in the texinfo documentation reported by Paolo. I hope it is fine now. Cheers, Giuseppe >From 3e639852488e44c88c040d8b993dade4a3e81407 Mon Sep 17 00:00:00 2001 Fro

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-11-04 Thread Giuseppe Scrivano
rridable, avoiding the same prefix allows to use the shorter forms $(nproc --c) and $(nproc --o). What do you think? Giuseppe >From d07e645265b38c5648e47467a5ffd829bbe966f2 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 31 Oct 2009 18:59:50 +0100 Subject: [PATCH] nproc

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-31 Thread Giuseppe Scrivano
# echo 1 > /sys/devices/system/cpu/cpu1/online # grep '^proc' /proc/cpuinfo | wc -l 2 Regards, Giuseppe >From 31b047ef9f0e83b7f6387bdd7e628cbb17f24079 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 31 Oct 2009 18:59:50 +0100 Subject: [PATCH] nproc: A new pro

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-31 Thread Giuseppe Scrivano
Hi Jim, thanks for your quick review. Jim Meyering writes: > Giuseppe Scrivano wrote: >> I included what we have discussed into my patch. I renamed the new >> program to `nproc', now it accepts two options: --available and >> --installed. >> By default --avai

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-31 Thread Giuseppe Scrivano
;= nproc --installed. Any comment? Cheers, Giuseppe >From 4665e1801f73eeba98cad9988c5d5829bad03a37 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 25 Oct 2009 19:04:41 +0100 Subject: [PATCH] nproc: A new program to count the number of processors * AUTHORS: Add my name. * NEWS:

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-27 Thread Giuseppe Scrivano
Bruno Haible writes: > Pádraig Brady wrote: >> >> Of course this should only apply if its effect is not externally >> >> observable; if I have a very small file B and a very large file A, and I >> >> can get >> >> >> >> $ md5sum --threads A B >> >> abcdabcdabcdabcdabcdabcdabcdabcd B >> >>

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-27 Thread Giuseppe Scrivano
Hi Bruno, Bruno Haible writes: >> No, it should not be a hardware inspection tool but a portable >> tool to help shell scripts to have an idea of how many >> processes can be executed at the same time. If we get too >> much into details then we loose portability > > Good. This is important info

Re: [PATCH] core-count: A new program to count the number of cpucores

2009-10-26 Thread Giuseppe Scrivano
Pádraig Brady writes: > Hmm it's a bit surprising that min()/max() are not available > as $((shell arithmetic)) or in `expr`. Consequently I agree that > adding the option you suggest is useful. What will we call it though? I remember a recent discussion about adding min/max to sort. Is still

Re: [PATCH] core-count: A new program to count the number of cpu cores

2009-10-25 Thread Giuseppe Scrivano
Bruno Haible writes: > This program (and the underlying gnulib 'nproc' module) is IMO too simplistic. > > First of all, is the program meant to be a hardware inspection tool (like > "hwinfo --cpu")? Or is meant to be an auxiliary program for helping shell > scripts that want to dispatch tasks on

[PATCH] Add myserver to the gnulib users.

2009-10-19 Thread Giuseppe Scrivano
A new gnulib user ;) Cheers, Giuseppe >From 481a2b0f5dd4b8150405ef8902f46e75511e1b94 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 19 Oct 2009 11:43:54 +0200 Subject: [PATCH] Add myserver to the gnulib users. * users.txt: Add myserver. --- users.txt |1 + 1 files changed

Re: Fix a linker error when used by a C++ program

2009-10-19 Thread Giuseppe Scrivano
Bruno Haible writes: > Giuseppe Scrivano wrote: >> I am going to use gnulib in a C++ program. This is the first problem I >> encountered. > >> diff --git a/lib/nproc.h b/lib/nproc.h >> index fe5b57e..4a8b4d4 100644 >> --- a/lib/nproc.h >

Fix a linker error when used by a C++ program

2009-10-18 Thread Giuseppe Scrivano
I am going to use gnulib in a C++ program. This is the first problem I encountered. Cheers, Giuseppe >From 27c9d4725bfb95915c98644e12f5e5d7818a19aa Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 19 Oct 2009 01:56:20 +0200 Subject: [PATCH] Fix a linker error when used by

[PATCH] nproc: use `sysctl' when it is available.

2009-10-17 Thread Giuseppe Scrivano
On BSDs, where SC_NPROCESSORS_ONLN is not available, the number of online processors can be retrieved using `sysctl'. Cheers, Giuseppe >From 73c11226e320c1144887daeb15e3f549b0bb2ee5 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 18 Oct 2009 01:20:14 +0200 Subject: [PATC

Re: [PATCH] getdate add a week when the wday is the same as the current one

2009-05-01 Thread Giuseppe Scrivano
ven.2009-05-01 Regards, Giuseppe >From 0e1af7775a82aed00331a535ddadee2753d12e5e Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 1 May 2009 15:44:30 +0200 Subject: [PATCH] =?utf-8?q?*=20lib/getdate.y=20(get=5Fdate):=20Correct=20the=20calculation=20of=20tm=5Fmday=20so =20that=20e.g.,=20"next=20tues"

Re: [PATCH] getdate add a week when the wday is the same as the current one

2009-05-01 Thread Giuseppe Scrivano
day + 7) % 7 >+ 7 * (pc.day_ordinal > - (0 < pc.day_ordinal > && tm.tm_wday != pc.day_number))); > > Bruno >From 75f9e5dcd077bd4faaebf6a51c8e89e1eb7d7e44 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri

[PATCH] getdate add a week when the wday is the same as the current one

2009-04-30 Thread Giuseppe Scrivano
Hello, what do you think of the following patch? When the same day as the current one is provided then a week is added. It doesn't change the behaviour for days in the past. It closes coreutils #25406. Giuseppe diff --git a/lib/getdate.y b/lib/getdate.y index 877b264..8154fd9 100644 --- a/li

[PATCH] pmccabe2html C++ support

2008-10-12 Thread Giuseppe Scrivano
Giuseppe Scrivano <[EMAIL PROTECTED]> + + * build-aux/pmccabe2html: Added support for C++ source files. + 2008-10-12 Bruno Haible <[EMAIL PROTECTED]> Use msvcrt aware primitives for creation/termination of Win32 threads. diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html i