BNUACM/bnuoj-backend — pull request #2 by crccw (2014-11-28 01:31:32+00:00)
Title: Fix /dev/random problem: add initial value for status in waitpid()

It seems that if there's no child process terminated, waitpid won't set status.
This will cause problem when status=0 initially, which is the case on the server
Also explains why everything is ok locally, where initail value of status is some random number