| Summary: | A patch to improve xmms random generator | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lesley van Zijl <zyl> |
| Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | funtoos, magnade |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://bugs.xmms.org/show_bug.cgi?id=21 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
xmms-1.2.8-random.patch
updated patch updated randomize patch...solarisisms updated updated randomize patch...solarisisms |
||
|
Description
Lesley van Zijl
2003-07-08 19:37:41 UTC
Created attachment 17126 [details, diff]
xmms-1.2.8-random.patch
here is a copy of that patch that applys cleanly against xmms-1.2.8
ive been running this patch since slightly before i submited it here for 1.2.8 and it has helped *ALOT* Created attachment 17680 [details, diff]
updated patch
didnt apply any more due to another patch being a pain
one section had changed alot updated the rand it was using
not sure if math is right tho
thanks magnade :) OK, I want to wake this sleeping horse from its slumber. This patch make xmms core dump on solaris because random() returns a number between 0 & 2**31-1 while on linux it returns a number between 0 & RAND_MAX. Can someone please reopen this bug? if it helps save me some time...:) just a follow up, the RAND_MAX on linux is 2**31-1 while on solaris it is 32767. I will post an updated patch. Created attachment 51964 [details, diff]
updated randomize patch...solarisisms
Comment on attachment 51964 [details, diff]
updated randomize patch...solarisisms
there is more RAND_MAX in that file
Created attachment 51972 [details, diff]
updated updated randomize patch...solarisisms
|