Menu

#16 solaris support / attachments

open
nobody
None
5
2002-01-11
2002-01-11
Anonymous
No

Solaris doesn't have a /dev/random device so the
random.c file will have to be re-written.

Since the function doesn't need *reall* random letters,
I've used something like this:

c = (char)(((random() / random()) % 57) + 26);

This will give random letters only (both upper and
lowercase). They are predictable, but who cares?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB