Subject: CVS commit: src
To: None <email@example.com>
From: Klaus Klein <firstname.lastname@example.org>
Date: 09/09/1998 12:34:01
Module Name: src
Committed By: kleink
Date: Wed Sep 9 19:34:00 UTC 1998
Addendum to previous commit: remove stdio usage from sections during which
random_mutex is locked, because
* a cancellation point may occur during fprintf(), and no cancellation handler
had been installed, and
* the XSH5 specifcation of these functions does not permit output to stderr.
Therefore, in initstate() and setstate(), return a null pointer if the supplied
state is not valid. This also fixes a bug in setstate() which caused corrupt
state information being used despite printing an error message.