-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct stat() error check in decomposition library loading
The original code incorrectly used !stat() which would continue the loop when the library was failed to be loaded (stat returns 0). Change to continue searching for the library when stat() returns a non-zero. Otherwise, an error message is reported.
- Loading branch information
Showing
1 changed file
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters