public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
@ 2010-10-31 17:47 ` awreece at gmail dot com
2011-07-26 17:26 ` kirill at shutemov dot name
` (10 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: awreece at gmail dot com @ 2010-10-31 17:47 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
awreece at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |awreece at gmail dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
2010-10-31 17:47 ` [Bug libc/4403] strfry() gives skewed distributions awreece at gmail dot com
@ 2011-07-26 17:26 ` kirill at shutemov dot name
2012-05-06 18:58 ` aj at suse dot de
` (9 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: kirill at shutemov dot name @ 2011-07-26 17:26 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
Kirill A. Shutemov <kirill at shutemov dot name> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kirill at shutemov dot name
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
2010-10-31 17:47 ` [Bug libc/4403] strfry() gives skewed distributions awreece at gmail dot com
2011-07-26 17:26 ` kirill at shutemov dot name
@ 2012-05-06 18:58 ` aj at suse dot de
2014-02-16 19:36 ` jackie.rosen at hushmail dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: aj at suse dot de @ 2012-05-06 18:58 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2012-05-06
AssignedTo|drepper.fsp at gmail dot |unassigned at sourceware
|com |dot org
--- Comment #8 from Andreas Jaeger <aj at suse dot de> 2012-05-06 18:56:55 UTC ---
Still a issue in current git.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2012-05-06 18:58 ` aj at suse dot de
@ 2014-02-16 19:36 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 19:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Jackie Rosen <jackie.rosen at hushmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com
--- Comment #9 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2014-02-16 19:36 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
2014-06-23 3:42 ` allachan at au1 dot ibm.com
` (6 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Andreas Schwab <schwab at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|jackie.rosen at hushmail dot com |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (4 preceding siblings ...)
2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-06-23 3:42 ` allachan at au1 dot ibm.com
2014-06-24 8:30 ` fweimer at redhat dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: allachan at au1 dot ibm.com @ 2014-06-23 3:42 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (5 preceding siblings ...)
2014-06-23 3:42 ` allachan at au1 dot ibm.com
@ 2014-06-24 8:30 ` fweimer at redhat dot com
2014-07-13 22:00 ` coleharrisjohnson at gmail dot com
` (4 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2014-06-24 8:30 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (6 preceding siblings ...)
2014-06-24 8:30 ` fweimer at redhat dot com
@ 2014-07-13 22:00 ` coleharrisjohnson at gmail dot com
2015-08-27 22:03 ` [Bug string/4403] " jsm28 at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: coleharrisjohnson at gmail dot com @ 2014-07-13 22:00 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Cole Johnson <coleharrisjohnson at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |coleharrisjohnson at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug string/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (7 preceding siblings ...)
2014-07-13 22:00 ` coleharrisjohnson at gmail dot com
@ 2015-08-27 22:03 ` jsm28 at gcc dot gnu.org
2015-09-04 7:17 ` slashtrooll at misc dot lka.org.lu
` (2 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:03 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libc |string
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug string/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (8 preceding siblings ...)
2015-08-27 22:03 ` [Bug string/4403] " jsm28 at gcc dot gnu.org
@ 2015-09-04 7:17 ` slashtrooll at misc dot lka.org.lu
2022-03-26 22:42 ` sam at gentoo dot org
2022-09-21 17:10 ` gabravier at gmail dot com
11 siblings, 0 replies; 17+ messages in thread
From: slashtrooll at misc dot lka.org.lu @ 2015-09-04 7:17 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
My small pet dwarf <slashtrooll at misc dot lka.org.lu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|slashtrooll at misc dot lka.org.lu |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug string/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (9 preceding siblings ...)
2015-09-04 7:17 ` slashtrooll at misc dot lka.org.lu
@ 2022-03-26 22:42 ` sam at gentoo dot org
2022-09-21 17:10 ` gabravier at gmail dot com
11 siblings, 0 replies; 17+ messages in thread
From: sam at gentoo dot org @ 2022-03-26 22:42 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug string/4403] strfry() gives skewed distributions
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
` (10 preceding siblings ...)
2022-03-26 22:42 ` sam at gentoo dot org
@ 2022-09-21 17:10 ` gabravier at gmail dot com
11 siblings, 0 replies; 17+ messages in thread
From: gabravier at gmail dot com @ 2022-09-21 17:10 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4403
Gabriel Ravier <gabravier at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gabravier at gmail dot com
--- Comment #11 from Gabriel Ravier <gabravier at gmail dot com> ---
Isn't this fixed ? Looking at current source it appears to have a proper
Fisher-Yates shuffle for strfry now
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
` (3 preceding siblings ...)
2009-05-10 8:04 ` pasky at suse dot cz
@ 2010-09-16 12:05 ` rrt at sc3d dot org
4 siblings, 0 replies; 17+ messages in thread
From: rrt at sc3d dot org @ 2010-09-16 12:05 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From rrt at sc3d dot org 2010-09-16 12:05 -------
This bug is apparently still not fixed. See:
http://www.eglibc.org/archives/patches/msg00646.html
which provides a patch.
Ulrich wrote, earlier in the thread:
> This function is a joke. Don't you have better things to do?
The problem is that the function is not marked as a joke, and only its name (and
some elements of the description) is actually funny. The task that is does is
something reasonable to want to do, and it seems reasonably simple to provide a
good implementation, so why not? glibc is a high quality product, so let's make
the jokes high quality too!
If on the other hand the glibc maintainers do not consider this function to be
worth maintaining to the high standards of glibc, then please either remove it,
or remove its documentation, or mark it as "obsolete, do not use", which should
stop people both from using it and from reporting bugs.
Without any such action, it seems unreasonable to say that bug reports about
this function are wasting the maintainers' time.
memfrob is a much better example of how to make this type of joke: its much
simpler algorithm is obviously correct, as it has no statistical complexities,
and its man page explains that it's useless for encryption. Hence, no-one is
going to complain that it's bad for encryption, and no-one is going to find
implementation bugs.
In a library as high-profile and important as glibc, bad jokes are going to come
back and bite you just like other bad design decisions. If the maintainers don't
understand this, the joke, if there is one here, is very much on them.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
` (2 preceding siblings ...)
2009-05-09 17:00 ` me at evancarroll dot com
@ 2009-05-10 8:04 ` pasky at suse dot cz
2010-09-16 12:05 ` rrt at sc3d dot org
4 siblings, 0 replies; 17+ messages in thread
From: pasky at suse dot cz @ 2009-05-10 8:04 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pasky at suse dot cz 2009-05-10 08:03 -------
Please do not reopen bugs spuriously, thank you.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
2007-05-20 20:49 ` [Bug libc/4403] " aurelien at aurel32 dot net
2007-08-22 7:30 ` drepper at redhat dot com
@ 2009-05-09 17:00 ` me at evancarroll dot com
2009-05-10 8:04 ` pasky at suse dot cz
2010-09-16 12:05 ` rrt at sc3d dot org
4 siblings, 0 replies; 17+ messages in thread
From: me at evancarroll dot com @ 2009-05-09 17:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From me at evancarroll dot com 2009-05-09 17:00 -------
(In reply to comment #3)
> Stop wasting people's time! Nobody cares about this crap. I made a last change
> but it's just too embarasing to even admit that.
Refusing someone else's better free code without reason? You're a dick. You--
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
2007-05-20 20:49 ` [Bug libc/4403] " aurelien at aurel32 dot net
@ 2007-08-22 7:30 ` drepper at redhat dot com
2009-05-09 17:00 ` me at evancarroll dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: drepper at redhat dot com @ 2007-08-22 7:30 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-08-22 07:29 -------
Stop wasting people's time! Nobody cares about this crap. I made a last change
but it's just too embarasing to even admit that.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libc/4403] strfry() gives skewed distributions
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
@ 2007-05-20 20:49 ` aurelien at aurel32 dot net
2007-08-22 7:30 ` drepper at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: aurelien at aurel32 dot net @ 2007-05-20 20:49 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aurelien at aurel32 dot net 2007-05-20 21:48 -------
Your version is still not right, as now some strings could not appear anymore.
For example for the string "abc" the strings "abc" and "acb" could never
appear.
The version already attached to this bug report returns all cases with a
correct distribution.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sourceware.org/bugzilla/show_bug.cgi?id=4403
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2022-09-21 17:10 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-4403-131@http.sourceware.org/bugzilla/>
2010-10-31 17:47 ` [Bug libc/4403] strfry() gives skewed distributions awreece at gmail dot com
2011-07-26 17:26 ` kirill at shutemov dot name
2012-05-06 18:58 ` aj at suse dot de
2014-02-16 19:36 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-06-23 3:42 ` allachan at au1 dot ibm.com
2014-06-24 8:30 ` fweimer at redhat dot com
2014-07-13 22:00 ` coleharrisjohnson at gmail dot com
2015-08-27 22:03 ` [Bug string/4403] " jsm28 at gcc dot gnu.org
2015-09-04 7:17 ` slashtrooll at misc dot lka.org.lu
2022-03-26 22:42 ` sam at gentoo dot org
2022-09-21 17:10 ` gabravier at gmail dot com
2007-04-21 21:36 [Bug libc/4403] New: " aurelien at aurel32 dot net
2007-05-20 20:49 ` [Bug libc/4403] " aurelien at aurel32 dot net
2007-08-22 7:30 ` drepper at redhat dot com
2009-05-09 17:00 ` me at evancarroll dot com
2009-05-10 8:04 ` pasky at suse dot cz
2010-09-16 12:05 ` rrt at sc3d dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).