mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
parent
3818ed2e7e
commit
8388195f4b
2
deps.mk
2
deps.mk
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user