CVSROOT: /cvs Module name: ports Changes by: b...@cvs.openbsd.org 2009/04/09 18:52:07
Modified files: audio/mpd : Makefile Added files: audio/mpd/patches: patch-src_playlist_c Log message: make mpd use a reaonable Fisher-Yates shuffle for randomizing play order instead of an incorrectly implemented Knuth shuffle. Also on openbsd make sure we use arc4random_uniform for the random choice from the sequence to make sure we aren't modulo biased. Noticed when my mpd server played an unnatural amount of Rush out of the 80's playlist.