This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inheritance of /dev/urandom filedesc fails


Christopher Faylor <cgf-use-the-mailinglist-please <at> cygwin.com> writes:

> 
> On Tue, Apr 17, 2012 at 09:16:06PM +0000, Michael Vance wrote:
> >Christian Franke <Christian.Franke <at> t-online.de> writes:
> >>Christopher Faylor wrote:
> >>>On Fri, Apr 06, 2012 at 09:15:13PM +0200, Christian Franke wrote:
> >>>>The inheritance of a /dev/clipboard filedesc through fork() fails in
> >>>>1.7.13.  Last working snapshot was 2012-03-30.
> >>>Should be fixed in the next snapshot.
> >>>
> >>>http://cygwin.com/snapshots/
> >>>
> >>
> >>Confirmed
> >
> >Maybe not.  I'm seeing a similar problem with /dev/urandom that still
> >exists in latest snapshot.
> 
> Should be fixed in today's snapshot.
> 
> cgf

Confirmed. Thanks!

user@machine ~
$ uname -vsr
CYGWIN_NT-6.1-WOW64 1.7.14s(0.260/5/3) 20120418 05:58:18

user@machine ~
$ RNDSTRING=$(</dev/urandom tr -dc [:print:] | head -c120)

user@machine ~
$ set | grep 'RNDSTRING'
RNDSTRING='40vSp\#gH jUx[G-"gw*mH_{:/,\|JIGH*y+,-m0Z9OL6hP||%{zw(o
tGg]~R$N&T>3HZ?&K#0q+y  t^jd2!ykC<,NE=_#13/0/QWqV"1.EJ8hL`78TCi=;'


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]