This patch is supposed to fix T81925. Before the patch, when test_env_path was called with check_is_dir set to false, the path from the environment variable in env would not be copied to path. Since check_is_dir is only supposed to skip the BLI_is_dir(env) check, but not the copying of the path, the BLI_strncpy(path, env, FILE_MAX); is performed before the two checks.
Details
Details
- Reviewers
Brecht Van Lommel (brecht) Campbell Barton (campbellbarton) - Maniphest Tasks
- T81925: Splash Screen can not be closed
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- 2020-10-21-appdir (branched from master)
- Build Status
Buildable 10862 Build 10862: arc lint + arc unit