This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4403] strfry() gives skewed distributions
- From: "allachan at au1 dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 23 Jun 2014 03:42:34 +0000
- Subject: [Bug libc/4403] strfry() gives skewed distributions
- Auto-submitted: auto-generated
- References: <bug-4403-131 at http dot sourceware dot org/bugzilla/>
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.