Re: [PATCH] Accept Bison's NEWS format.

2008-11-05 Thread Paolo Bonzini
Joel E. Denny wrote: On Tue, 4 Nov 2008, Paolo Bonzini wrote: - my $re_prefix = qr/\* (?:Noteworthy|Major) change/; + my $re_prefix = qr/\* (?:Noteworthy|Major) change|Changes/; What about qr/(?:\* )?(?:Noteworthy c|Major c|C)(?i:hanges)/ I assume the trailing s isn't important.

Re: New stable snapshot

2008-11-05 Thread Bruno Haible
Ben Pfaff wrote: close.c:30:21: w32sock.h: No such file or directory [...] The file w32sock.h should be supplied by the pspp package, or by mingw? By gnulib. It looks like the close module has a missing dependency on lib/w32sock.h. Yes. I can reproduce it through ./gnulib-tool

[PATCH] Some Haiku Patches

2008-11-05 Thread Ingo Weinhold
Howdy, here comes a short Haiku related patch series. CU, Ingo

[PATCH 1/4] O_BINARY and O_TEXT are defined and have no effect in

2008-11-05 Thread Ingo Weinhold
Signed-off-by: Ingo Weinhold [EMAIL PROTECTED] --- lib/binary-io.h |5 +++-- lib/fcntl.in.h |4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/binary-io.h b/lib/binary-io.h index 9bfddf1..518e464 100644 --- a/lib/binary-io.h +++ b/lib/binary-io.h @@ -30,8 +30,9

[PATCH 2/4] Use SA_ONSTACK even if SA_SIGINFO is unavailable.

2008-11-05 Thread Ingo Weinhold
If SA_ONSTACK exists, use it even if SA_SIGINFO doesn't. This does at least allow for a somewhat controlled program termination on stack overflow. E.g. in Haiku this prevents the debug server dialog box from popping up. Signed-off-by: Ingo Weinhold [EMAIL PROTECTED] --- lib/c-stack.c |6

[PATCH 3/4] Haiku is UTF-8 only as well.

2008-11-05 Thread Ingo Weinhold
Signed-off-by: Ingo Weinhold [EMAIL PROTECTED] --- lib/config.charset |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.charset b/lib/config.charset index 62b4e94..83434bf 100755 --- a/lib/config.charset +++ b/lib/config.charset @@ -478,8 +478,8 @@ case $os

[PATCH 4/4] Add support for Haiku.

2008-11-05 Thread Ingo Weinhold
Use the glibc 1 implementation in Haiku too. Haiku actually uses a newer glibc version, but the libio interface has been butchered to be binary compatible with the glibc 1 used by BeOS. Signed-off-by: Ingo Weinhold [EMAIL PROTECTED] --- lib/freadahead.c |3 ++- 1 files changed, 2

Re: parse_duration()

2008-11-05 Thread Bruno Haible
Bruce Korb wrote: But it should be documented. In the new .h file. Good! The documentation should also mention the return value convention of the function: how does the caller distinguish - a successful parse, - an out-of-range time_t result, - a syntactically invalid input? Can you

Re: [PATCH 2/4] Use SA_ONSTACK even if SA_SIGINFO is unavailable.

2008-11-05 Thread Eric Blake
Ingo Weinhold ingo_weinhold at gmx.de writes: If SA_ONSTACK exists, use it even if SA_SIGINFO doesn't. This does at least allow for a somewhat controlled program termination on stack overflow. E.g. in Haiku this prevents the debug server dialog box from popping up. In my mind, it would be

Re: [PATCH] Accept Bison's NEWS format.

2008-11-05 Thread Joel E. Denny
On Wed, 5 Nov 2008, Paolo Bonzini wrote: Joel E. Denny wrote: On Tue, 4 Nov 2008, Paolo Bonzini wrote: - my $re_prefix = qr/\* (?:Noteworthy|Major) change/; + my $re_prefix = qr/\* (?:Noteworthy|Major) change|Changes/; What about qr/(?:\* )?(?:Noteworthy c|Major c|C)(?i:hanges)/

Re: New stable snapshot

2008-11-05 Thread Michel Boaventura
Could you add this fix to the next snapshot Ben? I'm still have problems trying to compile a git version of pspp using mingw :(

Re: [PATCH 2/4] Use SA_ONSTACK even if SA_SIGINFO is unavailable.

2008-11-05 Thread Paolo Bonzini
Eric Blake wrote: Ingo Weinhold ingo_weinhold at gmx.de writes: If SA_ONSTACK exists, use it even if SA_SIGINFO doesn't. This does at least allow for a somewhat controlled program termination on stack overflow. E.g. in Haiku this prevents the debug server dialog box from popping up. In my

.cvsignore and .gitignore

2008-11-05 Thread Reuben Thomas
I've just noticed for the first time that these files (or at least .gitignore, assuming that .cvsignore works the same way) have rather odd contents. There seem to be basically two classes of user when it comes to what is ignored: 1. gnulib is considered as a build dependency, so no files

Re: New stable snapshot

2008-11-05 Thread Ben Pfaff
Bruno Haible [EMAIL PROTECTED] writes: Ben Pfaff wrote: diff --git a/modules/close b/modules/close index e526487..bb852d4 100644 --- a/modules/close +++ b/modules/close @@ -3,6 +3,7 @@ close() function: close a file or socket. Files: lib/close.c +lib/w32sock.h m4/close.m4

Re: New stable snapshot

2008-11-05 Thread Simon Josefsson
Michel Boaventura [EMAIL PROTECTED] writes: Could you add this fix to the next snapshot Ben? I'm still have problems trying to compile a git version of pspp using mingw :( What are these snapshots? Would a daily build of gnulib in *.tar.gz format be useful? I suppose it could make testing

Re: parse_duration()

2008-11-05 Thread Bruce Korb
Hi Bruno, On Wed, Nov 5, 2008 at 3:06 AM, Bruno Haible [EMAIL PROTECTED] wrote: Bruce Korb wrote: But it should be documented. In the new .h file. Good! The documentation should also mention the return value convention of the function: how does the caller distinguish - a successful

Re: New stable snapshot

2008-11-05 Thread Ben Pfaff
Simon Josefsson [EMAIL PROTECTED] writes: Michel Boaventura [EMAIL PROTECTED] writes: Could you add this fix to the next snapshot Ben? I'm still have problems trying to compile a git version of pspp using mingw :( What are these snapshots? Michel is referring to a snapshot of GNU PSPP, not

Re: [PATCH 2/4] Use SA_ONSTACK even if SA_SIGINFO is unavailable.

2008-11-05 Thread Ingo Weinhold
Eric Blake wrote: Ingo Weinhold ingo_weinhold at gmx.de writes: If SA_ONSTACK exists, use it even if SA_SIGINFO doesn't. This does at least allow for a somewhat controlled program termination on stack overflow. E.g. in Haiku this prevents the debug server dialog box from popping up.

Re: .cvsignore and .gitignore

2008-11-05 Thread Bruno Haible
Hi, Reuben Thomas wrote: There seem to be basically two classes of user when it comes to what is ignored: 1. gnulib is considered as a build dependency, so no files provided or generated by gnulib are put in CVS/git. 2. gnulib is not considered as a build dependency, so files provided

sys_stat

2008-11-05 Thread Alexander V. Lukyanov
Here is a patch to allow proper linking of rpl_lstat in C++ programs. diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h index 234b527..50fb524 100644 --- a/lib/sys_stat.in.h +++ b/lib/sys_stat.in.h @@ -41,6 +41,10 @@ #ifndef _GL_SYS_STAT_H #define _GL_SYS_STAT_H +#ifdef __cplusplus +extern C

Re: New stable snapshot

2008-11-05 Thread Simon Josefsson
Ben Pfaff [EMAIL PROTECTED] writes: Simon Josefsson [EMAIL PROTECTED] writes: Michel Boaventura [EMAIL PROTECTED] writes: Could you add this fix to the next snapshot Ben? I'm still have problems trying to compile a git version of pspp using mingw :( What are these snapshots? Michel is