Somehow these changes were lost. Related to #53 and #58.

This commit is contained in:
Charlie Curtsinger 2016-08-15 11:15:03 -05:00
parent 3818ed2e7e
commit 8388195f4b
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ $(ROOT)/deps/libelfin: $(ROOT)/deps/libelfin/elf/libelf++.a
$(ROOT)/deps/libelfin/Makefile:
@echo $(LOG_PREFIX) Checking out libelfin $(LOG_SUFFIX)
@mkdir -p $(ROOT)/deps
@git clone git://github.com/ccurtsinger/libelfin $(ROOT)/deps/libelfin
@git clone git://github.com/aclements/libelfin $(ROOT)/deps/libelfin
$(ROOT)/deps/libelfin/elf/libelf++.a: $(ROOT)/deps/libelfin/Makefile
@echo $(LOG_PREFIX) Building libelfin $(LOG_SUFFIX)

View File

@ -442,8 +442,8 @@ extern "C" {
// If there was an error, return the error code
return errno;
} else {
// If the sig pointer is not null, pass the received signal to the caller
if(sig) *sig = result;
// No need to check if sig is null because it's declared as non-null
*sig = result;
return 0;
}
}