[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 + +++ execute_cmd.

Re: Built-in printf Sits Awkwardly with UDP.

2011-07-21 Thread Ben Pfaff
Andre Majorel 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 the last > wr

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

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 t