author | Camm Maguire <camm@debian.org> | 2014年08月18日 21:19:39 +0000 |
---|---|---|
committer | Camm Maguire <camm@debian.org> | 2014年08月18日 21:19:39 +0000 |
commit | e8f1413f2d12c655701ad3e6d278798fa0930b1c (patch) | |
tree | f5c2ef6c195e4d8fddf9e8c39dc68fe8638f8ae0 | |
parent | 9a413d1ece0aaf38bcbf0398be99f441bed667b6 (diff) | |
download | gcl-e8f1413f2d12c655701ad3e6d278798fa0930b1c.tar.gz |
-rwxr-xr-x | gcl/o/sgbc.c | 2 |
diff --git a/gcl/o/sgbc.c b/gcl/o/sgbc.c index 2f37cad6c..772767f01 100755 --- a/gcl/o/sgbc.c +++ b/gcl/o/sgbc.c @@ -1554,7 +1554,7 @@ memory_protect(int on) { if (on==0) { sgc_mprotect(first_protectable_page,end-first_protectable_page,SGC_WRITABLE); install_segmentation_catcher(); - return; + return 0; } INSTALL_MPROTECT_HANDLER; |