From issues-return-777-apmail-stdcxx-issues-archive=stdcxx.apache.org@stdcxx.apache.org Thu Mar 20 16:55:17 2008 Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 93193 invoked from network); 20 Mar 2008 16:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 16:55:17 -0000 Received: (qmail 81434 invoked by uid 500); 20 Mar 2008 16:55:15 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 81414 invoked by uid 500); 20 Mar 2008 16:55:15 -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 81312 invoked by uid 99); 20 Mar 2008 16:55:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 09:55:14 -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 16:54:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5BDE2234C0AE for ; Thu, 20 Mar 2008 09:53:24 -0700 (PDT) Message-ID: <717637890.1206032004375.JavaMail.jira@brutus> Date: Thu, 20 Mar 2008 09:53:24 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-789) random_shuffle.cpp produces unexpected output MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.