stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-789) random_shuffle.cpp produces unexpected output
Date Thu, 17 Apr 2008 09:31:26 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589894#action_12589894
] 

Farid Zaripov commented on STDCXX-789:
--------------------------------------

Merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752

> 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.


Mime
View raw message