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 s

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: .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 pro

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

2008-11-05 Thread Ingo Weinhold
Eric Blake wrote: > Ingo Weinhold 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 m

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

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 > -

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 testi

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 >>

.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 pr

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

2008-11-05 Thread Paolo Bonzini
Eric Blake wrote: > Ingo Weinhold 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,

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] 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

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

2008-11-05 Thread Eric Blake
Ingo Weinhold 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 cleaner if we

[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 insertions

[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 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 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] Some Haiku Patches

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

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

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 y

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 im

Re: Gauge interest in an XDR implementation

2008-11-05 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: >> Anyway, for example, >> libtasn1 is used by GnuTLS, Shishi, and probably some other projects as >> well, and I have thought about proposing parts of it as gnulib modules. >> Probably the only reason I haven't done so already is because the code >> is qui