X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,TW_CG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Michael Vance <michael.vance@salliemae.com>
Subject: Re: Inheritance of /dev/urandom filedesc fails
Date: Wed, 18 Apr 2012 18:56:08 +0000 (UTC)
Lines: 36
Message-ID: <loom.20120418T205337-953@post.gmane.org>
References: <4F7F40C1.7030004@t-online.de> <20120406194125.GA8118@ednor.casa.cgf.cx> <4F7F4AB7.6000106@t-online.de> <loom.20120417T231101-859@post.gmane.org> <20120418061532.GB16586@ednor.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

