Commit 856550c
[Sanitizer] Fix setbuffer() interceptor (it accept size, not mode)
Fixes: 0c81a62 ("[Sanitizer] Adding setvbuf in supported platforms and other stream buffer functions")
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D1161761 parent ba6973c commit 856550c
File tree
2 files changed
+7
-5
lines changed- compiler-rt
- lib/sanitizer_common
- test/sanitizer_common/TestCases/Posix
2 files changed
+7
-5
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7857 | 7857 | | |
7858 | 7858 | | |
7859 | 7859 | | |
7860 | | - | |
| 7860 | + | |
7861 | 7861 | | |
7862 | | - | |
7863 | | - | |
| 7862 | + | |
| 7863 | + | |
7864 | 7864 | | |
7865 | | - | |
| 7865 | + | |
7866 | 7866 | | |
7867 | 7867 | | |
7868 | 7868 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments