Commit 557818c
libnss_tcb: Drop use of readdir_r(3).
In commit 72ef702 we introduced a
replacement for the deprecated readdir_r(3) by using readdir(3) with
global thread-local storage. As almost any operating system released
within the last eight years supports thread-local storage natively,
there is little to no reason keeping the potentially dangerous
fallback to readdir_r(3).
Signed-off-by: Björn Esser <[email protected]>1 parent c82b107 commit 557818c
2 files changed
+9
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 14 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 15 | | |
27 | 16 | | |
28 | 17 | | |
| |||
107 | 96 | | |
108 | 97 | | |
109 | 98 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 99 | | |
114 | 100 | | |
115 | 101 | | |
| |||
122 | 108 | | |
123 | 109 | | |
124 | 110 | | |
125 | | - | |
126 | 111 | | |
127 | 112 | | |
128 | 113 | | |
129 | 114 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 115 | | |
135 | 116 | | |
136 | 117 | | |
| |||
142 | 123 | | |
143 | 124 | | |
144 | 125 | | |
145 | | - | |
146 | 126 | | |
147 | | - | |
148 | 127 | | |
149 | 128 | | |
150 | 129 | | |
| |||
0 commit comments