Re: fdl-1.3

2008-11-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 11/10/2008 8:30 PM: > Eric Blake wrote: >> I added a symlink fdl.texi >> ... >> Here's what I'm committing. >> new file mode 12 > > A symlink?! This can only cause problems: > - When 'git' is run on a Windows system

Re: fdl-1.3

2008-11-10 Thread Bruno Haible
Eric Blake wrote: > I added a symlink fdl.texi > ... > Here's what I'm committing. > new file mode 12 A symlink?! This can only cause problems: - When 'git' is run on a Windows system (not Cygwin), AFAIK there are no symlinks. - When 'git' is run on Linux on a vfat file system, there a

Re: code/module request: undo setuid

2008-11-10 Thread Sam Steingold
> * Bruno Haible <[EMAIL PROTECTED]> [2008-11-11 02:24:10 +0100]: > > Sam Steingold wrote: >> Suppose one has an application which is installed setuid root. >> Suppose also the application has a feature (e.g., spawn an >> interactive user shell) which should NOT be run as root - but as an >> unpriv

Re: fdl-1.3

2008-11-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Karl Berry on 11/10/2008 5:01 PM: > [EMAIL PROTECTED] fdl.texi > [EMAIL PROTECTED] fdl-1.3.texi > > I think standards.texi and maintain.texi should include the generic > fdl.texi. I updated fdl.texi in the gnustandards repo to be

Re: test-select-out failures

2008-11-10 Thread Bruno Haible
Simon Josefsson wrote: > The failing test is the first pipe test: > > ( { echo abc; ./test-select-fd w 1; } | { sleep 1; cat; } ) > /dev/null 2> > t-select-out.tmp > test `cat t-select-out.tmp` = "0" || echo exit > > Those two commands prints 'exit' here. The other tests, including the > second

Re: code/module request: undo setuid

2008-11-10 Thread Bruno Haible
Sam Steingold wrote: > Suppose one has an application which is installed setuid root. > Suppose also the application has a feature (e.g., spawn an interactive user > shell) which should NOT be run as root - but as an unprivileged user instead. > I suppose this is a fairly common operation ... The

Re: config.guess origin

2008-11-10 Thread Bruno Haible
Karl Berry wrote: > build-aux/config.guess: unable to guess system type > > This script, last modified 2008-01-08, has failed to recognize > > The current version of config.guess (2008-09-28) supports Haiku (at > least there are case statements for it). Thanks for the hint. Yes, it is un

sockets.h comment

2008-11-10 Thread Bruno Haible
Hi Simon, Naive as I was, I wanted to use the 'sockets' module, specifying the minimum possible requirement for winsock. Bummer! This version is not supported any more on Windows XP. I propose to put a comment about it. OK? 2008-11-10 Bruno Haible <[EMAIL PROTECTED]> * lib/sockets.h:

Re: getaddrinfo, netdb, canon-host

2008-11-10 Thread Bruno Haible
Simon Josefsson wrote on 2008-10-20: > * lib/getaddrinfo.h: Remove file. > * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h. > * m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h. > * lib/netdb.in.h: Add declarations from getaddrinfo.h. In order to keep gnulib-

Re: fdl-1.3

2008-11-10 Thread Karl Berry
[EMAIL PROTECTED] fdl.texi [EMAIL PROTECTED] fdl-1.3.texi I think standards.texi and maintain.texi should include the generic fdl.texi. I updated fdl.texi in the gnustandards repo to be 1.3. As for gnulib, I see that we have only specifically-numbered versions of the {a,l,}gpl-*.texi and

Re: warning: module to simplify adding compiler warnings

2008-11-10 Thread Bruno Haible
Simon Josefsson wrote: > It allows me to add to configure.ac this: > > gl_WARN_ADD([-Wall]) > gl_WARN_ADD([-Wpointer-arith]) > gl_WARN_ADD([-Wstrict-prototypes]) > gl_WARN_ADD([-Wno-pointer-sign]) Will $WARN_CFLAGS be used before or after $CFLAGS? I.e. can the user disable these warning flags or

Re: warning: module to simplify adding compiler warnings

2008-11-10 Thread Simon Josefsson
Updated module, thanks for review! I'll wait some more time before pushing this, in case someone finds more serious problems or has objections. /Simon >From 637ecea60f31fbc4b0d45927b27d219986a1e1aa Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Mon, 10 Nov 2008 20:44:19

Re: warning: module to simplify adding compiler warnings

2008-11-10 Thread Simon Josefsson
Ralf Wildenhues <[EMAIL PROTECTED]> writes: >> so how about something like this module? > > I'm indifferent, except that a better werror framework in Autoconf could > make your approach obsolete. Let me know when it is released. :) >> + AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), foo=yes, foo=no) >

Re: warning: module to simplify adding compiler warnings

2008-11-10 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Mon, Nov 10, 2008 at 07:09:30PM CET: > I want to add some warning flags from configure, including -Werror. > > Using CFLAGS doesn't seem to be a good idea (some autoconf tests stops > working), Also, some flags influence the preprocessor, too. > so how about

Re: [PATCH] Some Haiku Patches

2008-11-10 Thread Ralf Wildenhues
Hello Ingo, * Ingo Weinhold wrote on Mon, Nov 10, 2008 at 05:40:01PM CET: > > Yeah, in a perfect world there would have been another automake release since > 1.10.1 supporting Haiku I will try to do a 1.10.2 stable point release by this weekend. Thanks for the reminder. Cheers, Ralf

Re: warning: module to simplify adding compiler warnings

2008-11-10 Thread Paolo Bonzini
Simon Josefsson wrote: > I want to add some warning flags from configure, including -Werror. You can use AC_PREPROC_IFELSE if using GCC: $ gcc -E -x c /dev/null -Wno-frobnicate cc1: error: unrecognized command line option "-Wno-frobnicate" It is faster. Also, this: > + AC_COMPILE_IFELSE(AC_LA

warning: module to simplify adding compiler warnings

2008-11-10 Thread Simon Josefsson
I want to add some warning flags from configure, including -Werror. Using CFLAGS doesn't seem to be a good idea (some autoconf tests stops working), so how about something like this module? It allows me to add to configure.ac this: gl_WARN_ADD([-Wall]) gl_WARN_ADD([-Wpointer-arith]) gl_WARN_ADD(

Re: fdl-1.3

2008-11-10 Thread Eric Blake
Karl Berry freefriends.org> writes: > > > Subject: [PATCH] Add GFDLv1.3. > Will standards.texi be swapped to use this new license? > > I presume so, but I should ask rms. Karl, I see with your latest autoupdate[1] that upstream standards.texi now claims to use FDL 1.3, but still @incl

Re: test-select-out failures

2008-11-10 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> FAIL: test-select-out.sh > > Works for me on Linux 2.4.21, glibc 2.3.6. What's your system type? Linux 2.6.26, glibc 2.7; essentially a normal x86 debian unstable machine. The failing test is the first pipe test: ( { echo abc;

Re: fdl-1.3

2008-11-10 Thread Simon Josefsson
Eric Blake <[EMAIL PROTECTED]> writes: > Simon Josefsson josefsson.org> writes: > >> > Meanwhile, Simon, since you were just there, can you update the gnulib >> > manual to FDL 1.3+? >> >> I'm not the copyright holder, but I expect concerned people will comment >> if there is any problem in doin

Re: fdl-1.3

2008-11-10 Thread Eric Blake
Simon Josefsson josefsson.org> writes: > > Meanwhile, Simon, since you were just there, can you update the gnulib > > manual to FDL 1.3+? > > I'm not the copyright holder, but I expect concerned people will comment > if there is any problem in doing this, so I have pushed the patch below. You d

Re: [PATCH] Some Haiku Patches

2008-11-10 Thread Ingo Weinhold
On 2008-11-10 at 12:01:19 [+0100], Bruno Haible <[EMAIL PROTECTED]> wrote: > Ingo Weinhold wrote: > > > - configure packages with > > > "./configure --host=i586-pc-beos --build=i586-pc-beos > > > --prefix=/boot/home/config" > > > > As of revision 28582 Haiku comes with the latest version

code/module request: undo setuid

2008-11-10 Thread Sam Steingold
Hi, Suppose one has an application which is installed setuid root. Suppose also the application has a feature (e.g., spawn an interactive user shell) which should NOT be run as root - but as an unprivileged user instead. I suppose this is a fairly common operation (e.g., nethack is probably inst

Re: test-select-out failures

2008-11-10 Thread Bruno Haible
Simon Josefsson wrote: > FAIL: test-select-out.sh Works for me on Linux 2.4.21, glibc 2.3.6. What's your system type? Bruno

printf.m4: add support for Haiku

2008-11-10 Thread Bruno Haible
In gl_PRINTF_ENOMEM, the native execution guess is "guessing no", but since the printf code comes from glibc, we can expect it is resistent to out-of-memory conditions. 2008-11-10 Bruno Haible <[EMAIL PROTECTED]> * m4/printf.m4 (gl_PRINTF_ENOMEM): Guess yes on Haiku. Use the cr

posix_spawn tweak

2008-11-10 Thread Bruno Haible
This fixes a gcc warning. 2008-11-10 Bruno Haible <[EMAIL PROTECTED]> * lib/spawni.c (__spawni): Force variable into the stack. *** lib/spawni.c.orig 2008-11-10 12:47:34.0 +0100 --- lib/spawni.c2008-11-10 03:37:16.0 +0100 *** *** 133,138 ---

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

2008-11-10 Thread Bruno Haible
> I will apply it like this, when savannah is back: Committed. It was not savannah which was down; my IP provider has a routing problem between me and the entire *.gnu.org domain. Bruno

test-select-out failures

2008-11-10 Thread Simon Josefsson
This fails in the test-select-out self-test: gnulib-tool --test --with-tests select make[4]: Entering directory `/home/jas/src/gnulib/testdir17574/build/gltests' PASS: test-alloca-opt PASS: test-arpa_inet PASS: test-c-ctype PASS: test-errno PASS: test-gettimeofday PASS: test-netinet_in PASS: test

Re: [PATCH] Some Haiku Patches

2008-11-10 Thread Bruno Haible
Ingo Weinhold wrote: > > - configure packages with > > "./configure --host=i586-pc-beos --build=i586-pc-beos > > --prefix=/boot/home/config" > > As of revision 28582 Haiku comes with the latest versions of autoconf, > automake and friends. So after a "./bootstrap" or "automake --add-mi