Lorenzo dixit: > The real problem is that you can't count on getrandom() being there - eg it's > too new for my machine running debian sid... why they removed the sysctl() > without providing an alternative is beyond me instead.
Also, it’s Linux-specific, and not suitable for mksh anyway since mksh is early userspace. > Oh, btw - I can't find the link right now, but someone took the pain to look > at > (and compare) many broken versions of portable functions, including > arc4random. Oh, too bad. Do share once you know it ;) > It was just plain horrible. I can fully imagine. OK, thanks for all the feedback. I have a rough idea where I want to go to now, and will do this once I have some hacking time for mksh again. bye, //mirabilos -- <igli> exceptions: a truly awful implementation of quite a nice idea. <igli> just about the worst way you could do something like that, afaic. <igli> it's like anti-design. <mirabilos> that too… may I quote you on that? <igli> sure, tho i doubt anyone will listen ;)
