Martin Wheatley wrote:
> Description:
> Bash may inadvertently execute a command that the user did not
> anticipate if STDIN is closed.
The shell reads data from the input. It then parses the input into
commands and executes them. If this is not what you want then you
must avoid closing th
Miek Gieben wrote:
> http://www.miek.nl/projects/rdup/svn/trunk/sh-tools/mirror.sh.in
> > Chet Ramey wrote:
> > > The root cause is probably that something is consuming all of the
> > > input from stdin (the pipe) on FreeBSD and not on Linux. I suspect
> > > the call to `head'. The two implementa
Hi,
The following issues were found by Coverity source code scanner.
The patch below resolves some minor issues found in the bash-3.1 package; such
as uninitialized variable use, dead code, and dereferencing a null.
Configuration Information [Automatically generated, do not change]:
Machine: i38
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.7
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.7' -DCONF_MACHTYPE='sparc-sun-solaris2.7'
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H -D_LARGEFIL
Team,
I plan to send out these patches today around 4. Please let me know if you see
anything that I should revise ..
Thanks,
Hi,
The following issues were found by Coverity source code scanner.
The patch below resolves some minor memory/resource leaks found in the bash-3.1
package.
Configu
[On 29 Jun, @19:10, Bob Proulx wrote in "Re: bash3 on FreeBSD weirdness ..."]
> Chet Ramey wrote:
> > Miek Gieben wrote:
> > > okay, here it it.
>
> Better would have been to share that with the mailing list. :-(
hmmm, I thought I cc-ed it also the ml... well this is the scripts:
http://www.mie
Chet Ramey wrote:
> Miek Gieben wrote:
> > okay, here it it.
Better would have been to share that with the mailing list. :-(
> The root cause is probably that something is consuming all of the
> input from stdin (the pipe) on FreeBSD and not on Linux. I suspect
> the call to `head'. The two i
[On 29 Jun, @17:38, Chet Ramey wrote in "Re: bash3 on FreeBSD weirdness ..."]
> > Basicly the function local_mirror() (line 167) works, and
> > remote_mirror() (line 257) doesn't (on FreeBSD that is).
>
> The root cause is probably that something is consuming all of the
> input from stdin (the pip
Miek Gieben wrote:
> [On 29 Jun, @03:56, Chet Ramey wrote in "Re: bash3 on FreeBSD weirdness ..."]
>> Miek Gieben wrote:
>>
>>> The mirror.sh script uses a 'while -r read'-loop
>>> to read from standard input. It looks like the while loop terminates
>>> after 1 loop on FreeBSD, where as it goes on