Implement scandirat and scandirat64.
Bug: http://b/12612339 Change-Id: Id3b249a884fe08964b26a017ae9574961f0cb441
This commit is contained in:
@@ -23,8 +23,11 @@
|
||||
|
||||
class ScopedReaddir {
|
||||
public:
|
||||
ScopedReaddir(const char* path) {
|
||||
dir_ = opendir(path);
|
||||
ScopedReaddir(const char* path) : ScopedReaddir(opendir(path)) {
|
||||
}
|
||||
|
||||
ScopedReaddir(DIR* dir) {
|
||||
dir_ = dir;
|
||||
}
|
||||
|
||||
~ScopedReaddir() {
|
||||
|
||||
Reference in New Issue
Block a user