Skip to content

Commit fbdab85

Browse files
committed
FIX: fine-tune system object protection
Keeping `system/script` unprotected Related to: Oldes/Rebol-issues#1132
1 parent d28f952 commit fbdab85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mezz/mezz-secure.r

+3-1
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,12 @@ protect-system-object: func [
202202
]
203203

204204
unprotect/values [
205+
system/options ; some are modified by scripts
206+
]
207+
unprotect/words [
205208
system/script
206209
;system/schemes
207210
;system/ports ; should not be modified, fix this
208-
system/options ; some are modified by scripts
209211
;system/view ; should not be modified!
210212
]
211213
]

0 commit comments

Comments
 (0)