Fixed segfault for mode switching when compiled with clang
drwxr-xr-x - cde