Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 11818 invoked from network); 20 Mar 2008 17:21:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 17:21:19 -0000 Received: (qmail 34620 invoked by uid 500); 20 Mar 2008 17:21:18 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 34604 invoked by uid 500); 20 Mar 2008 17:21:18 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 34595 invoked by uid 99); 20 Mar 2008 17:21:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 10:21:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 17:20:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B0CAA234C0A7 for ; Thu, 20 Mar 2008 10:19:24 -0700 (PDT) Message-ID: <1547060176.1206033564709.JavaMail.jira@brutus> Date: Thu, 20 Mar 2008 10:19:24 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-789) random_shuffle.cpp produces unexpected output In-Reply-To: <717637890.1206032004375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580858#action_12580858 ] Martin Sebor commented on STDCXX-789: ------------------------------------- The change in the behavior of the example is due to [r637393|http://svn.apache.org/viewvc?view=rev&revision=637393] introduced to fix STDCXX-763. > random_shuffle.cpp produces unexpected output > --------------------------------------------- > > Key: STDCXX-789 > URL: https://issues.apache.org/jira/browse/STDCXX-789 > Project: C++ Standard Library > Issue Type: Bug > Components: Examples > Affects Versions: trunk > Environment: all > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Minor > Fix For: trunk > > Original Estimate: 1h > Remaining Estimate: 1h > > The example program [random_shuffle.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/random_shuffle.cpp] produces unexpected output in recent builds. Running it interactively shows the following diff: > {noformat} > $ ./random_shuffle >random_shuffle.out && diff -C3 random_shuffle.out > > *** random_shuffle.out Thu Mar 20 12:53:37 2008 > --- /nfs/homes/sebor/stdcxx/examples/manual/out/random_shuffle.out Tue Feb 20 16:34:53 2007 > *************** > *** 1,5 **** > Elements before random_shuffle: > ! 1 2 3 4 5 6 7 8 9 1e+01 > > Elements after random_shuffle: > ! 9 8 7 6 2 3 1 4 5 1e+01 > --- 1,5 ---- > Elements before random_shuffle: > ! 1 2 3 4 5 6 7 8 9 10 > > Elements after random_shuffle: > ! 9 8 7 6 2 3 1 4 5 10 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.