replaced == mode_P by mode_is_reference() call
drwxr-xr-x - ir