author | Camm Maguire <camm@debian.org> | 2015年02月12日 16:00:32 -0500 |
---|---|---|
committer | Camm Maguire <camm@debian.org> | 2015年02月12日 16:00:32 -0500 |
commit | 29c1761be7de1398e30a75c3bcf85fba1a9ce1a9 (patch) | |
tree | 1a07072c61a2f2e8df582788e1e87b9beca8df6c | |
parent | 104329a8bcc3f00a4ae82fc5fe28af4ccadd7bb7 (diff) | |
download | gcl-static_wrimap.tar.gz |
-rwxr-xr-x | gcl/o/sgbc.c | 2 |
diff --git a/gcl/o/sgbc.c b/gcl/o/sgbc.c index f5d704be7..a720aa3e9 100755 --- a/gcl/o/sgbc.c +++ b/gcl/o/sgbc.c @@ -1569,7 +1569,7 @@ memory_protect(int on) { writable = IS_WRITABLE(beg); for (i=beg ; ++i<= end; ) { - if (writable==IS_WRITABLE(i) && i<=end) continue; + if (writable==IS_WRITABLE(i) && i<end) continue; if (sgc_mprotect(beg,i-beg,writable)) return -1; |