[PATCH] sys_time: allow too-wide tv_sec

2012-07-05 Thread Paul Eggert
ChangeLog |8 doc/posix-headers/sys_time.texi |7 ++- m4/sys_time_h.m4|8 ++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78b2ab3..590bcc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -

Re: ./m4/pthread.m4 causes coreutils build failure on FreeBSD 9

2012-07-05 Thread Paul Eggert
On 07/05/2012 02:13 AM, Richard Yao wrote: > It sounds like we need a test for pthread_create() and another for > pthread_join(). OK, I coded up and pushed the following patch, can you please give it a try? It works on Fedora 15 and Solaris 10, but I haven't tested it on other platforms. --- Ch

[PATCH] parse-datetime: doc tuneup

2012-07-05 Thread Paul Eggert
* doc/parse-datetime.texi: Index "leap seconds" and fix minor spacing issues. --- ChangeLog |6 ++ doc/parse-datetime.texi |9 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5111040..80e25b1 100644 --- a/ChangeLog +++

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Stefano Lattarini
On 07/05/2012 05:37 PM, Akim Demaille wrote: > > Le 5 juil. 2012 à 17:13, Stefano Lattarini a écrit : > >> Hi Akim, Jim. > > hi Stefano, > >> Just a minor correction about your "set -e" interpretation ... >> >> But "false && something" causes no problem under "set -e": >> >>$ sh -e -c 'fals

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Akim Demaille
Le 5 juil. 2012 à 17:13, Stefano Lattarini a écrit : > Hi Akim, Jim. hi Stefano, > Just a minor correction about your "set -e" interpretation ... > > But "false && something" causes no problem under "set -e": > >$ sh -e -c 'false && exit 1; echo OK' >OK > > otherwise about one third

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Eric Blake
On 07/05/2012 09:16 AM, Akim Demaille wrote: > > Le 5 juil. 2012 à 16:53, Jim Meyering a écrit : > >> This script doesn't use set -e. >> I'd say that having to limit such use of "&&" is a good reason >> not to use "set -e". > > In my experience, not setting set -e is asking for troubles. > I hav

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Akim Demaille
Le 5 juil. 2012 à 16:53, Jim Meyering a écrit : > This script doesn't use set -e. > I'd say that having to limit such use of "&&" is a good reason > not to use "set -e". In my experience, not setting set -e is asking for troubles. I have been bitten way too often because of failures that go unno

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Stefano Lattarini
Hi Akim, Jim. Just a minor correction about your "set -e" interpretation ... On 07/05/2012 04:53 PM, Jim Meyering wrote: > Akim Demaille wrote: >> Le 5 juil. 2012 à 15:24, Akim Demaille a écrit : >> >>>test "$(sed -n 3p NEWS)" = "$noteworthy_stub" \ >>> && die 'line 3 of NEWS looks fishy

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Jim Meyering
Akim Demaille wrote: > Le 5 juil. 2012 à 15:24, Akim Demaille a écrit : > >> Hi friends, >> >> I just installed this. >> >> # simple check: no question marks on line 3 of NEWS >> -test "$(sed -n 3p NEWS)" = "$noteworthy_stub" \ >> +test "$(sed -n 3p NEWS)" != "$noteworthy_stub" \ >> || die 'line

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Akim Demaille
Le 5 juil. 2012 à 15:24, Akim Demaille a écrit : > Hi friends, > > I just installed this. > > # simple check: no question marks on line 3 of NEWS > -test "$(sed -n 3p NEWS)" = "$noteworthy_stub" \ > +test "$(sed -n 3p NEWS)" != "$noteworthy_stub" \ > || die 'line 3 of NEWS looks fishy!' This

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Akim Demaille
Le 5 juil. 2012 à 15:53, Jim Meyering a écrit : > Akim Demaille wrote: >> Hi friends, > > Hi Akim, > >> I just installed this. >> >> Subject: [PATCH] do-release-commit-and-tag: fix typo > > In the future, please post a heads-up patch before you push, > in case someone sees a problem. OK, sor

FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Akim Demaille
Hi friends, I just installed this. From be2b039116133e5fd07e07c5d272b8adb91d72b2 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 5 Jul 2012 15:16:08 +0200 Subject: [PATCH] do-release-commit-and-tag: fix typo * build-aux/do-release-commit-and-tag: Be sure that NEWS does _not_ start with

Re: FYI: do-release-commit-and-tag: fix typo

2012-07-05 Thread Jim Meyering
Akim Demaille wrote: > Hi friends, Hi Akim, > I just installed this. > > Subject: [PATCH] do-release-commit-and-tag: fix typo In the future, please post a heads-up patch before you push, in case someone sees a problem. ... > --- a/build-aux/do-release-commit-and-tag > +++ b/build-aux/do-release

Re: ./m4/pthread.m4 causes coreutils build failure on FreeBSD 9

2012-07-05 Thread Richard Yao
On 07/05/2012 04:35 AM, Bruno Haible wrote: > Hi Paul, > >> OK, thanks, I pushed it. > > This change makes it work for FreeBSD 9, but reverts the fixes done for > IRIX 6.5 and OSF/1 on 2011-09-01 and 2011-09-08. Can you make a fix that > works on all three platforms? Here's the situation: > > On

Re: [PATCH] base64: Allow URL-safe base64 strings to be decoded

2012-07-05 Thread Bruno Haible
Hi, Wido den Hollander wrote: > With URL-safe base64 the + and / are replaced by - and _ > > This way we can accept base64 strings which are URL-safe. There are many more variants of base64, see http://en.wikipedia.org/wiki/Base64 The current code is meant to implement RFC 4648. Since for RFC

Re: ./m4/pthread.m4 causes coreutils build failure on FreeBSD 9

2012-07-05 Thread Bruno Haible
Hi Paul, > OK, thanks, I pushed it. This change makes it work for FreeBSD 9, but reverts the fixes done for IRIX 6.5 and OSF/1 on 2011-09-01 and 2011-09-08. Can you make a fix that works on all three platforms? Here's the situation: On Mac OS X, Solaris, Cygwin: pthread_create and pthread_join i