Commit f8a69c5
committed
Remove use of locale-specific
strerror_r doesn't necessarily return UTF-8 but we assume it does.
strerror_r is locale-sensitive but we are better off not being
locale-sensitive.
strerror_r requires us to use libc but increasingly we want to
avoid libc, e.g. to support x86_64-unknown-linux-none.
Just remove the use of the function.strerror_r.1 parent b2bca0f commit f8a69c5
1 file changed
Lines changed: 1 addition & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 101 | | |
122 | 102 | | |
123 | 103 | | |
124 | 104 | | |
125 | 105 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 106 | | |
131 | 107 | | |
132 | 108 | | |
| |||
140 | 116 | | |
141 | 117 | | |
142 | 118 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 119 | + | |
148 | 120 | | |
149 | 121 | | |
150 | 122 | | |
| |||
0 commit comments