GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Mainly code style cleanups, if you're interested.
The only user-visible changes are adding the error cause if /dev/random can't be opened, and return codes of 1 instead of 255 on failure.
Autoconf 2.67 is sufficient
Print error cause if open() fails
Remove extraneous local variables
exit 1 instead of -1 on error
To avoid colliding with signal-based return codes (usually 128+signum,
depending on the shell).
Use sizeof() instead of copying buffer size
Improve variable locality
Merge pull request #2 from tedjp/master
entwatch style, error message & variable cleanups