Imported Upstream version 2.1.2
This commit is contained in:
parent
78cd8cf0ca
commit
710c8df253
14 changed files with 54 additions and 20 deletions
|
@ -139,8 +139,10 @@ try_again:
|
|||
if((ps_fd = open(ps_name, O_RDONLY)) == -1)
|
||||
continue;
|
||||
|
||||
if((as_fd = open(as_name, O_RDONLY)) == -1)
|
||||
if((as_fd = open(as_name, O_RDONLY)) == -1) {
|
||||
close(ps_fd);
|
||||
continue;
|
||||
}
|
||||
|
||||
if(read(ps_fd, &psinfo, sizeof(psinfo)) != sizeof(psinfo)) {
|
||||
int err = errno;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue