Commit 0795b94
Fix AppVeyor Linux tests failing loading dxil.so (#5024)
`dlopen` and `dlsym` do not set `errno` on failure, instead errors are provided in string format via `dlerror()`. Since we don't currently have a good way to propagate string errors we don't propagate them through our API, but this does correct code that otherwise was returning success on failing `dlopen`/`dlsym` calls.
(cherry picked from commit 4d7b69c)1 parent 6d3574a commit 0795b94
1 file changed
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 34 | | |
39 | | - | |
40 | | - | |
41 | 35 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 36 | + | |
46 | 37 | | |
47 | 38 | | |
48 | | - | |
49 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
50 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
51 | 49 | | |
52 | | - | |
53 | 50 | | |
54 | | - | |
| 51 | + | |
55 | 52 | | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
0 commit comments