procedure main() # Change owner of file, usually only superusers can do this write(image(chown("chown.icn", "nobody", "nobody"))) end
causes a memory violation
$ unicon -s chown.icn -x Run-time error 302 File chown.icn; Line 12 memory violation Traceback: main() chown("chown.icn","nobody","nobody") from line 12 in chown.icn
Rev [r4544]
Thanks for the report. When someone made this thread-safe, they did not add the 2nd check for failure required by the new thread-safe function.