[ 
https://issues.apache.org/jira/browse/STDCXX-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Sebor closed STDCXX-789.
-------------------------------


Verified on 4.2.x and 4.3.x.

> 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
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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.

Reply via email to