Commit 8d1e801
committed
libcglue: clarify resetting newlib stdio init in __locks_init
Longer description (optional):
Clarify the reason for clearing _REENT_CLEANUP(_REENT) in __locks_init so that readers understand this forces newlib to treat stdio as uninitialized and re-create FILE structures and their locks on next use.1 parent 800ce35 commit 8d1e801
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
167 | 177 | | |
168 | 178 | | |
169 | 179 | | |
| |||
0 commit comments