This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4403] strfry() gives skewed distributions


https://sourceware.org/bugzilla/show_bug.cgi?id=4403

paxdiablo <allachan at au1 dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allachan at au1 dot ibm.com

--- Comment #10 from paxdiablo <allachan at au1 dot ibm.com> ---
Well, nothing in the doco
(http://www.gnu.org/software/libc/manual/html_node/strfry.html) for strfry()
stated that all combinations would be equally likely. The only mention of
uniform distribution was that it was used to do the swaps themselves, not that
the results would be uniformly distributed.

In any case, when I make stir fry, it's rarely distributed perfectly. Having
said that, Ulrich probably spent more time complaining about the patch than it
would have taken to just put the damn thing in :-)

I have to go with Reuben here. If it's a joke, get rid of it, it has no place
in a serious piece of software. If not, we should be willing to accept patches
that make it better in some way, given any constraints from elsewhere (such as
time needed by maintainers to do it).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]