Re: License of bash manpage (Re: License details for bash-4.2)

2011-07-21 Thread Jonathan Nieder
Chet Ramey wrote: I wrote the entire test suite except for the one file from Glen Fowler. It is (or should be) copyright GPL3 just like the rest of the distribution. Just wanted to say thanks for the clear and quick responses. They helped. Jonathan

Allocating new fds through redirection

2011-07-21 Thread Christian Ullrich
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: freebsd8.1 Compiler: cc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='freebsd8.1' -DCONF_MACHTYPE='i386-portbld-freebsd8.1' -DCONF_VENDOR='portbld'

integer addition crash

2011-07-21 Thread Cédric Martínez Campos
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'

Re: integer addition crash

2011-07-21 Thread Jonathan Nieder
Hi Cédric, Cédric Martínez Campos wrote: $ echo $((08+1)) bash: 08: too big element for the base (the error element is 08) [translated from spanish] Strings of digits starting with a '0' in an arithmetic expansion are octal numbers. The bash FAQ[*] has some details. Hope that

Re: integer addition crash

2011-07-21 Thread Pierre Gaston
On Wed, Jul 20, 2011 at 1:35 PM, Cédric Martínez Campos cedricmartinezcam...@gmail.com wrote: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'

Re: Built-in printf Sits Awkwardly with UDP.

2011-07-21 Thread Andre Majorel
On 2011-07-20 14:34 +0100, Ralph Corderoy wrote: No. Here's my understanding of how it currently works. The built-in printf works out a character to print at a time; no foresight needed or used. It asks the C library to print it with putchar(3). The C library can implement buffering to

Re: integer addition crash

2011-07-21 Thread Cédric Martínez Campos
Many thanks, guys! On Wed, Jul 20, 2011 at 7:46 PM, Jonathan Nieder jrnie...@gmail.com wrote: Hope that helps, Jonathan [*] http://tiswww.case.edu/php/chet/bash/FAQ question E8 (Why does the arithmetic evaluation code complain about `08'?) On Thu, Jul 21, 2011 at 7:47 AM, Pierre Gaston

Re: Built-in printf Sits Awkwardly with UDP.

2011-07-21 Thread Ben Pfaff
Andre Majorel aym-...@teaser.fr writes: On 2011-07-20 14:34 +0100, Ralph Corderoy wrote: If standard output is a log file, log entries could remain latent for a very long time. The buffering mode we really want is buffered with a forced flush at reasonable intervals, E.G. one second after

[PATCH] use `job_control ' only when JOB_CONTROL is set

2011-07-21 Thread Robert Millan
Hi, job_control variable is declared conditionally (ifdef JOB_CONTROL) but later it is used unconditionally. This results in build failure if job control is disabled. Patch attached. -- Robert Millan === modified file 'execute_cmd.c' --- execute_cmd.c 2011-07-21 21:35:21 + +++