Florian Weimer
|
4ff4ebb1fb
|
util: remove union dirent_storage
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
bde1fdd773
|
journal: replace readdir_r with readdir
This commit also adds error handling for failures during
directory reading.
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
a2be63f922
|
conf-files: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
0371ca0dac
|
journald/server: replace readdir_r with readdir
The available_space function now returns 0 if reading the directory
fails. Previously, such errors were silently ignored.
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
78a5d04dd6
|
journal/vacuum: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
3fd11280e8
|
util: replace readdir_r with readdir
This fixes rm_rf_children_dangerous to detect errors during directory
reading. Previously, it could dereference an uninitialized pointer.
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
4d993c8cb7
|
install: replace readdir_r with readdir
The old code incorrectly assumed that readdir_r updates errno.
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
9fa3006323
|
core: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
66c7a5332a
|
login: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
6887ec4f00
|
delta: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|
Florian Weimer
|
d78096b343
|
tmpfiles: replace readdir_r with readdir
|
2013-12-21 18:35:55 -05:00 |
|