From: [EMAIL PROTECTED]
To: bug-bash@gnu.org, [EMAIL PROTECTED]
Subject: variables read by builtin funtion read seems to be modified (or
ignored) during execution
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DP
Hello. I have attached a very simple patch to add arc4random() to Bash for
setting $RANDOM. It does not break the expected behavior of $RANDOM. It
simply replaces getpid()+gettimeofday() with arc4random(). arc4random() is
available on all BSD variants, and is used to get random numbers for
non-
> Machine Type: i386-pc-linux-gnu
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
> Description:
> When lauching the following script, it occurs that :
>
> data= 0
> data=abcd
> data=efghi
>
Jean-Philippe Ayanides <[EMAIL PROTECTED]> writes:
> Here is the script :
>
> #!/bin/bash
>
> temp=/tmp/file.$$
> cat > $temp << EOF
> 0
> 12345678 01234 6789012345678901234567890123456789012345678901234
> 12345
Eric Blake byu.net> writes:
> > Curiously, under the same conditions on a Red Hat Linux box:
>
> Why didn't you say so in the first place? If this behavior only occurs on
> cygwin, then it is a bug in either cygwin or the bash port of cygwin, and
> you should have reported it to the cygwin mail